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

Jenkins: Internal Compiler Error #2986

Open
sanssecours opened this issue Sep 19, 2019 · 3 comments

Comments

@sanssecours
Copy link
Member

commented Sep 19, 2019

Description

Looks like i7 sometimes fails to compile Elektra in the Docker Web UI Base image, reporting internal compiler errors:

c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.

. I also noticed this issue on my computer, which also contains an i7 processor. I fixed the problem on my machine by using only one simultaneous make job. I do not think removing the text -j ${PARALLEL} from the Dockerfile:

RUN cmake .. -DTOOLS="kdb;web" && make -j ${PARALLEL} && make install

is an appropriate option for the build server though.

@markus2330

This comment has been minimized.

Copy link
Contributor

commented Sep 20, 2019

Thank you for reporting this problem and proposing a solution!

Is this an out-of-memory issue? Maybe a different compiler also solves the problem, we could upgrade the Ubuntu version for the Web UI Base image.

This fix maybe can be done together with #2913 which is the more urgent problem for now.

@sanssecours

This comment has been minimized.

Copy link
Member Author

commented Sep 20, 2019

Is this an out-of-memory issue?

I do not think so, at least I would expect a different error message in that case.

Maybe a different compiler also solves the problem, we could upgrade the Ubuntu version for the Web UI Base image.

I also think that a newer compiler should probably solve the issue. It should not be that hard to use a less outdated version of Ubuntu for the image.

@markus2330

This comment has been minimized.

Copy link
Contributor

commented Sep 20, 2019

Yes, lets try upgrading the base image.

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