Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436300 - sys-devel/gcc-4.5.4 - xgcc: Internal error: Killed (program cc1)
Summary: sys-devel/gcc-4.5.4 - xgcc: Internal error: Killed (program cc1)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 14:03 UTC by Russ King
Modified: 2012-09-26 14:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Logs & info (Bug.tar.gz,112.22 KB, application/x-gzip)
2012-09-26 14:03 UTC, Russ King
Details

Note You need to log in before you can comment on or make changes to this bug.
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