Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make check fail on i386 #756

frederic-loui opened this issue Apr 15, 2019 · 0 comments


Copy link

commented Apr 15, 2019


On i386, make operation succeeds, but make check fails for bmv2.
Not sure if this is linked, but make succeeds for target simple_switch_grpc but also fail for make check.

On amd64, make & make check both succeeds for simple_switch and simple_switch_grpc targets.

As a test, on the same xenial i386 machine p4c make and 'make check` succeeds. (1301 successful tests )

How to reproduce:
--> install a fresh ubuntu xenial 32 bit image and p4lang software dependencies:
1- compile p4lang PI

git clone
git submodule update --init --recursive
./configure --with-proto --without-internal-rpc --without-cli --without-bmv2 --without-sysrepo --prefix=/usr
make check
sudo make install

2- compile bmv2

git clone
./configure --with-pdfixed --with-pi --prefix=/usr \
	--enable-debugger --with-thrift --with-nanomsg "CXXFLAGS=-O0 -g";
make check    <---- observe test_fields test failure
make install <---- for p4c tests

3- compile p4c

git clone
git submodule update --init --recursive
mkdir build && cd build ;
make check  <---- observe that all the 1301 tests succeed)
make install 

As it can be time consuming to try to reproduce this issue, I build a 32 bit xenial ova you can download here: (I tried to minimise the size but it is still 3.7 Gb ...)
username/password: p4lang/p4lang
(The link will stay valid till the 6th of may 2019)

PS: Most of the system are 64 bit today so this might not be a critical issue. It prevents just Launchpad/PPA to produce the package as by default launchpad consider i386 and amd64.
If it is decided to only consider amd64 architecture, I'll disable i386 build in debian/control file.

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.