Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630676 - binutils : internal compiler error
Summary: binutils : internal compiler error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 13:51 UTC by Raul E Rangel
Modified: 2017-09-11 14:39 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/sys-devel/binutils-2.28.1/temp/build.log (build.log,449.09 KB, text/x-log)
2017-09-11 13:51 UTC, Raul E Rangel
Details
emerge --info '=sys-devel/binutils-2.28.1::gentoo' (info,4.71 KB, text/plain)
2017-09-11 13:52 UTC, Raul E Rangel
Details
/var/tmp/portage/sys-devel/binutils-2.28.1/temp/environment (environment,116.73 KB, text/plain)
2017-09-11 13:53 UTC, Raul E Rangel
Details

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