[gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
I can't seem to get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago. /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md: In function 'internal_dfa_insn_code': /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions. make[3]: *** [insn-attrtab.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build' make: *** [bootstrap-lean] Error 2 emake failed - Grant I get the same error trying to recompile gcc-4.3.4 which is currently installed and was emerged successfully about a week ago. I'll file a bug? - Grant Fixed! It may have been changing my locale from POSIX to UTF8 or maybe some kernel changes I made. - Grant
[gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
I can't seem to get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago. /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md: In function 'internal_dfa_insn_code': /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/ for instructions. make[3]: *** [insn-attrtab.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build' make: *** [bootstrap-lean] Error 2 emake failed - Grant I get the same error trying to recompile gcc-4.3.4 which is currently installed and was emerged successfully about a week ago. I'll file a bug? - Grant
Re: [gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
The gcc package actually compiles gcc twice, once with your existing compiler and again with the new compiler itself (at least it worked that way in the old days). I believe it's three times now: the first time with the old compiler, then with the new one, then again with the second new one. Then the last two are compared; they should be the same. I do get this when emerging gcc-4.3.4: * Your x86 arch is not supported. * Hope you know what you are doing. Hardened will not work. I wonder if it could be related. 4.3.4 compiles fine. - Grant
[gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
On 02/01/2012 01:06 PM, Grant wrote: I do get this when emerging gcc-4.3.4: * Your x86 arch is not supported. * Hope you know what you are doing. Hardened will not work. Are you upgrading from a non-hardened system?
Re: [gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
I do get this when emerging gcc-4.3.4: * Your x86 arch is not supported. * Hope you know what you are doing. Hardened will not work. Are you upgrading from a non-hardened system? Nope, just upgrading gcc on a system that's always been hardened. - Grant
[gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
On 01/31/2012 11:57 AM, Grant wrote: I can't seem to get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago. Are you using the new 4.3.3 to build 4.5.3? The gcc package actually compiles gcc twice, once with your existing compiler and again with the new compiler itself (at least it worked that way in the old days). I'm wondering if the internal compiler error occurs during the first build (using 4.3.3) or the second (using 4.5.3). Not that I'd know what to do with that info except to answer my own question :)
Re: [gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
On Tuesday 31 January 2012 21:37:34 walt wrote: The gcc package actually compiles gcc twice, once with your existing compiler and again with the new compiler itself (at least it worked that way in the old days). I believe it's three times now: the first time with the old compiler, then with the new one, then again with the second new one. Then the last two are compared; they should be the same. I forget where I read that though. -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] Re: gcc-4.5.3-r1 fails to compile with internal compiler error
Check USE/C flags, there may have been changes between versions (I think this happened to me) Try compiling without any of them and if it works start looking for the bad one. W.Kenworthy On 01/02/2012, at 5:37, walt w41...@gmail.com wrote: On 01/31/2012 11:57 AM, Grant wrote: I can't seem to get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago. Are you using the new 4.3.3 to build 4.5.3? The gcc package actually compiles gcc twice, once with your existing compiler and again with the new compiler itself (at least it worked that way in the old days). I'm wondering if the internal compiler error occurs during the first build (using 4.3.3) or the second (using 4.5.3). Not that I'd know what to do with that info except to answer my own question :)