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

Bug 630676

Summary: binutils : internal compiler error
Product: Gentoo Linux Reporter: Raul E Rangel <ismell>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/sys-devel/binutils-2.28.1/temp/build.log
emerge --info '=sys-devel/binutils-2.28.1::gentoo'
/var/tmp/portage/sys-devel/binutils-2.28.1/temp/environment

Description Raul E Rangel 2017-09-11 13:51:53 UTC
Created attachment 493992 [details]
/var/tmp/portage/sys-devel/binutils-2.28.1/temp/build.log

* ERROR: sys-devel/binutils-2.28.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/binutils-2.28.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.28.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.28.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.28.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.28.1/work/build'
 * S: '/var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1'
Comment 1 Raul E Rangel 2017-09-11 13:52:27 UTC
Created attachment 493994 [details]
emerge --info '=sys-devel/binutils-2.28.1::gentoo'
Comment 2 Raul E Rangel 2017-09-11 13:53:04 UTC
Created attachment 493996 [details]
/var/tmp/portage/sys-devel/binutils-2.28.1/temp/environment
Comment 3 Raul E Rangel 2017-09-11 13:54:44 UTC
Relevant error:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1/gold  -I/var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1/gold -I/var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1/gold/../include -I/var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1/gold/../elfcpp -DLOCALEDIR="\"/usr/share/binutils-data/x86_64-pc-linux-gnu/2.28.1/locale\"" -DBINDIR="\"/usr/x86_64-pc-linux-gnu/binutils-bin/2.28.1\"" -DTOOLBINDIR="\"/usr/x86_64-pc-linux-gnu/bin\"" -DTOOLLIBDIR="\"/usr/x86_64-pc-linux-gnu/lib\""   -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=output.o  -O2 -march=native -pipe -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o /var/tmp/portage/sys-devel/binutils-2.28.1/work/binutils-2.28.1/gold/output.cc
{standard input}: Assembler messages:
{standard input}:23355: Warning: end of file not at end of a line; newline inserted
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-09-11 13:55:27 UTC
(In reply to Smelly from comment #3)
> x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)

You probably ran out of memory
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2017-09-11 14:15:56 UTC
1 gigabyte of memory divided by 3 make processes and their children, with CFLAGS='... -pipe' which tries to keep everything in memory (because faster).

You ran out of RAM.
Comment 6 Raul E Rangel 2017-09-11 14:39:56 UTC
Oh thanks! I'll remove -pipe. Be nice if there was a OOM message in the errors.