Created attachment 24405 [details] This is the build log of the application I am trying to compile gcc in Gentoo Linux. I already filed a bug there, but since it couldn't be solved for more than 1,5 months now, I guess it is a deeper gcc issue, noone there can solve. You can find that record here: http://bugs.gentoo.org/show_bug.cgi?id=363675 It fails with the following output: /var/tmp/portage/sys-devel/gcc-4.4.5/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -pipe -march=core2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/gcc/cfgbuild.c -o cfgbuild.o {standard input}: Assembler messages: {standard input}:73965: Warning: end of file not at end of a line; newline inserted {standard input}:73986: Error: no such instruction: `mo' {standard input}:73986: Error: open CFI at the end of file; missing .cfi_endproc directive xgcc: Internal error: Killed (program cc1) I'm no developer, but these environment facts might help here: jb-gen2-0001 ~ # emerge --info Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.4.4, glibc-2.11.3-r0, 2.6.38.2-jb1 x86_64) ================================================================= System uname: Linux-2.6.38.2-jb1-x86_64-Intel-R-_Xeon-R-_CPU_L5630_@_2.13GHz-with-gentoo-1.12.14 Timestamp of tree: Fri, 15 Apr 2011 07:45:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 virtual/os-headers: 0 CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -pipe -march=core2" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" Also, please find attached a complete build lo.
PS: I can provide a root login for a server wherethis is reproduceable happening. You might try or destroy anything you like there, since I can easily make a snapshot of the system. Please just tell me if this is needed, since I do not like to publish the credentials in public here.
looks like you ran out of memory and the OOM killer kicked in
component should be bootstrap, this isn't a c++ issue
you could have tried searching the web for the last error: http://bugs.gentoo.org/256766
Absolutely great!!! As soon, as I remove "-pipe" from CFLAGS it works! Thank you very much Jonathan for your incredibly fast help on this! I used Google before, but I haven't found the right answer. Guess I used the wrong keywords .. Can't believe you solved an issue I'm waiting more than 1,5 months from the Gentoo people for in 3 minutes 42 seconds ... ;)