Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184994 - sys-devel/gcc-4.2.0 compile fails
Summary: sys-devel/gcc-4.2.0 compile fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 20:00 UTC by kjuanlu
Modified: 2007-07-11 22:35 UTC (History)
0 users

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


Attachments
A complete build log (build.log,990.03 KB, text/plain)
2007-07-11 20:05 UTC, kjuanlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kjuanlu 2007-07-11 20:00:51 UTC
-pipe -mcpu=970 -mtune=970 -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/gcc -I/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber    insn-attrtab.c -o insn-attrtab.o
{standard input}: Assembler messages:
{standard input}:2247: Warning: end of file not at end of a line; newline inserted
{standard input}:3596: Error: missing operand
{standard input}:3596: Error: syntax error; found `
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [insn-attrtab.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.2.0/work/build/gcc'
make[2]: *** [all-stageprofile-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.2.0/work/build'
make[1]: *** [stageprofile-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.2.0/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.2.0 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1311:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.2.0/temp/build.log'.


Reproducible: Always

Steps to Reproduce:




userland64, PS3,
Comment 1 Mike Doty (RETIRED) gentoo-dev 2007-07-11 20:03:03 UTC
not infra related
Comment 2 kjuanlu 2007-07-11 20:05:08 UTC
Created attachment 124588 [details]
 A complete build log
Comment 3 SpanKY gentoo-dev 2007-07-11 21:28:35 UTC
you probably need more ram or remove -pipe as the error:

xgcc: Internal error: Killed (program cc1)

means the kernel killed the program

also check `dmesg` to see if anything interesting is in there
Comment 4 kjuanlu 2007-07-11 22:35:44 UTC
(In reply to comment #3)
> you probably need more ram or remove -pipe as the error:
> 
> xgcc: Internal error: Killed (program cc1)
> 
> means the kernel killed the program
> 
> also check `dmesg` to see if anything interesting is in there
> 

I checked dmesg, and i saw that my system has not swap memory (I made the partition, but i forgot to make mkswap -c /dev/sda2)

Thanks