Red Hat Bugzilla – Bug 848605
Internal compiler errors building pcl on x86_64
Last modified: 2012-08-20 20:56:55 EDT
Description of problem:
gcc crashes with segfaults at various points the pcl package on rawhide. It's happened twice tonight on koji:
Version-Release number of selected component (if applicable):
I can reproduce a crash on my machine pretty consistently.
Steps to Reproduce:
1. Download pcl sources from fedpkg
2. Rebuild x86_64 in mock a few times
3. Crashes happen intermittently, which is annoying...
I thought this was some kind of memory corruption error on my end when building large heavily templated packages, but once it started happening on koji I submitted
c++: internal compiler error: Killed (program cc1plus)
means the kernel decided to kill cc1plus, supposedly because it run out of memory. Generally that is not a gcc bug, unless it eats too much memory compared to what it is compiling. If it is large heavily templated source, some memory consumption must be expected... Might be that there is some build box without enough memory, or that you are building the package with make -jN and several large compilations happen at the same time.
Thanks for the info Jakub. I disabled parallel make and the build completed without error. I'll go ahead and close this bug.