Bug 848605 - Internal compiler errors building pcl on x86_64
Summary: Internal compiler errors building pcl on x86_64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-16 00:59 UTC by Rich Mattes
Modified: 2012-08-21 00:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-21 00:56:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rich Mattes 2012-08-16 00:59:45 UTC
Description of problem:
gcc crashes with segfaults at various points the pcl package on rawhide.  It's happened twice tonight on koji:

https://koji.fedoraproject.org/koji/taskinfo?taskID=4394507
https://koji.fedoraproject.org/koji/taskinfo?taskID=4394313

Version-Release number of selected component (if applicable):
gcc-4.7.1-7.fc19.x86_64

How reproducible:
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...
  
Actual results:
segfault

Expected results:
build completes

Additional info:
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

Comment 1 Jakub Jelinek 2012-08-16 07:22:50 UTC
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.

Comment 2 Rich Mattes 2012-08-21 00:56:55 UTC
Thanks for the info Jakub.  I disabled parallel make and the build completed without error.  I'll go ahead and close this bug.


Note You need to log in before you can comment on or make changes to this bug.