Gentoo Archives: gentoo-user

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

Replies