Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436300

Summary: sys-devel/gcc-4.5.4 - xgcc: Internal error: Killed (program cc1)
Product: Gentoo Linux Reporter: Russ King <rjkfsm>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: autobuilds   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Logs & info

Description Russ King 2012-09-26 14:03:16 UTC
Created attachment 325028 [details]
Logs & info

I ran an emerge -uDN world and gcc failed during compile. Emerge --info and build log attached. This is my first ever bug report, so hopefully everything needed is here.

Thanks
RK
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-26 14:08:44 UTC
xgcc: Internal error: Killed (program cc1)

You ran out of memory.

Your options are:

1) Install more RAM.
2) Remove -pipe from CFLAGS.
3) Try with fewer make jobs.
4) Install more RAM.
5) Build it on another machine.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-26 14:48:33 UTC
6) add more swap
7) enable zram
8) reduce optimization level to -O1