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

Should master branch build under docker-compose build ? #227

Open
knighan opened this issue Sep 1, 2019 · 5 comments
Open

Should master branch build under docker-compose build ? #227

knighan opened this issue Sep 1, 2019 · 5 comments
Assignees
Labels

Comments

@knighan
Copy link

knighan commented Sep 1, 2019

Step 10/13 : RUN cd SHEEP/backend/build; make run-sheep-server
---> Running in 0c1bae4f9fe1
Scanning dependencies of target run-sheep-server
[ 0%] Building CXX object applications/CMakeFiles/run-sheep-server.dir/server/run-sheep-server.cpp.o
In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0,
from /usr/include/c++/7/bits/stl_algo.h:66,
from /usr/include/c++/7/algorithm:62,
from /SHEEP/backend/applications/server/run-sheep-server.cpp:4:
/usr/include/c++/7/limits:1602:7: internal compiler error: Illegal instruction
max() _GLIBCXX_USE_NOEXCEPT { return FLT_MAX; }
^~~

@nbarlowATI nbarlowATI added the bug label Sep 30, 2019
@nbarlowATI nbarlowATI self-assigned this Sep 30, 2019
@nbarlowATI
Copy link
Member

Hi @knighan , thanks for reporting this - it ought to work, we will investigate...

@nbarlowATI
Copy link
Member

Hi again @knighan - apologies for the delay in responding to this... I wasn't able to reproduce this problem (though did come across a different problem on master related to matplotlib versions).

However, we just pushed quite a few new developments onto master from the development branch. If you try again now, could you let us know if master builds+works for you?
Many thanks!

@stmario
Copy link

stmario commented Nov 15, 2019

Hi @nbarlowATI
I just experienced the same problem on MacOs and Ubuntu (VM) with the branches master, wahc_demo and develop.

@pjattke
Copy link

pjattke commented Nov 15, 2019

Could it be that the problem is somehow related to how GMP is compiled? See this bugreport:

If you don't disable the assembly code in GMP, GMP defaults to basically doing -march=native . You need to configure GMP correctly if you are going to use it across different machines which are different processor types.

@nbarlowATI
Copy link
Member

Hi all,
apologies once again for the slow reply - for some reason I'm not getting notifications on this thread.
I still couldn't reproduce this - I just tried on a fresh Ubuntu VM and everything worked fine, and I then removed all related images from my OSX machine, and it worked there as well.

The fact that it is a compiler command does indeed suggest something hardware/architecture related.

The only thing I can think of to debug further would be to try building the sheep_base docker image on the same machine as the docker-compose build command is failing on:

cd backend
docker build -it turingsheep/sheep_base:v3 -f Dockerfile_sheep_base .
cd ..
docker-compose build

This way all compilers/GMP binaries etc. should be consistent.

(But since the systems it's failing on are the same ones that I've tried, I'm not at all sure what is going on...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants