Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc-4.5.3-r1 fails to compile with "internal compiler error"
Date: Tue, 31 Jan 2012 22:17:23
Message-Id: CAN0CFw0Gw62z1n8Xjw15tmAZ=TPj9=RJnyxebE-hXbS6jdKxHA@mail.gmail.com
In Reply to: Re: [gentoo-user] gcc-4.5.3-r1 fails to compile with "internal compiler error" by Jarry
1 >>>> I can't seem to get gcc-4.5.3-r1 to compile.  I tried twice and it
2 >>>> failed at the exact same point both times.  The build log doesn't
3 >>>> mention a segfault.  Does anyone know how to fix this?  I was able to
4 >>>> compile gcc-4.3.3 a short while ago.
5 >>>>
6 >>>>
7 >>>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:
8 >>>> In function 'internal_dfa_insn_code':
9 >>>>
10 >>>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1:
11 >>>> internal compiler error: Aborted
12 >>>> Please submit a full bug report,
13 >>>> with preprocessed source if appropriate.
14 >>>> See<http://bugs.gentoo.org/>  for instructions.
15 >>>> make[3]: *** [insn-attrtab.o] Error 1
16 >>>> make[3]: Leaving directory
17 >>>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc'
18 >>>> make[2]: *** [all-stage2-gcc] Error 2
19 >>>> make[2]: Leaving directory
20 >>>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
21 >>>> make[1]: *** [stage2-bubble] Error 2
22 >>>> make[1]: Leaving directory
23 >>>> `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
24 >>>> make: *** [bootstrap-lean] Error 2
25 >>>> emake failed
26 >>>>
27 >>>> - Grant
28 >>>
29 >>>
30 >>> Did you check the log for OOM (Out of Memory) problems?
31 >>>
32 >>> I've had problems building gcc  on a machine with limited RAM when my
33 >>> swap
34 >>> hasn't been enabled.
35 >>>
36 >>> Todd
37 >>
38 >>
39 >> I just checked but there is nothing like that in the logs.
40 >>
41 >> - Grant
42 >
43 >
44 > Some versions of GCC I was able to compile with MAKEOPTS="-j1"
45 > only. Whenever I have set it to higher number, it simply failed
46 > with similar error. Surprising, other versions I could compile
47 > even with "-j4"...
48
49 That can't be it, I set MAKEOPTS="-j1" on all my systems years ago. :)
50
51 - Grant