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

Closed
sanssecours opened this issue Sep 19, 2019 · 4 comments
Closed

Jenkins: Internal Compiler Error #2986

sanssecours opened this issue Sep 19, 2019 · 4 comments

Comments

@sanssecours
Copy link
Member

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
Copy link
Contributor

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
Copy link
Member Author

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
Copy link
Contributor

Yes, lets try upgrading the base image.

@markus2330
Copy link
Contributor

Should be solved now, please reopen if it occurs again.

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

No branches or pull requests

3 participants