| Summary: | g++ Internal error compiling Mozilla | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Carl A. Dunham <gentoo-bugs2> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | cirix |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Carl A. Dunham
2003-07-25 19:24:03 UTC
try use i586 instead of k6 It worked with just -O2, so it must be one of those k6 bugs (arch or cpu?). However, it shouldn't crash like this. Is this an upstream bug? It very specifically told me to file a bug here. When gcc tells me to do something, I obey. :-) cat /proc/cpuinfo, por favor I get a similar error compiling both mozilla-firebird and dc-gui ever since the last upgrade in gcc. This is on a Thunderbird proc. Additional info below... I can post the errors from dc-gui if anyone would like. But mozilla-firebird output is below.
CFLAGS="-O3 -mcpu=athlon-tbird -pipe"
.h -Wp,-MD,.deps/nsPluginsDirUnix.pp nsPluginsDirUnix.cpp
{standard input}: Assembler messages:
{standard input}:34350: Warning: end of file not at end of a line; newline inserted
{standard input}:34422: Warning: missing operand; zero assumed
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
gmake[3]: *** [nsPluginHostImpl.o] Error 1
gmake[3]: *** Deleting file `nsPluginHostImpl.o'
gmake[3]: *** Waiting for unfinished jobs....
{standard input}:34386: Error: undefined symbol `.LLSDACSE3117' in operation
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6-r7/work/mozilla/modules/plugin/base/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6-r7/work/mozilla/modules/plugin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6-r7/work/mozilla'
make: *** [default] Error 2
angel root # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1008.997
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2011.95
# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor stepping : 12 cpu MHz : 400.118 cache size : 64 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr bogomips : 797.90 Sigh. Trying to contact GCC people. Are you using colorgcc by any chance? Not using colorgcc, no. Another bit of information, changing CFLAGS to: CFLAGS="-mcpu=k6-2 -O3 -pipe" resulted in a successful build. Recall that it was previously set to: CFLAGS="-mcpu=k6 -march=k6 -O3 -pipe" Hope this helps... I am not using colorgcc either. OK, I had a similar issue here's what i did to fix it. I did emerge -UDp mozilla, and to my astonishment saw that gnuconfig-20030708 was on the list of things to merge. I merge gnuconfig.. then mozilla... and everything went smoothly from here. I hope this helps you guys, as this problem is quite odd. Maybe the ebuild can depend on a recent version of gnuconfig? *** Bug 25823 has been marked as a duplicate of this bug. *** is this still an issue since 1.5 is stable now ? I had a similar problem where I got internal compiler error messages from g++ during compiles of Qt, Mozilla, and kdelibs. Changing compile flags to be more conservative didn't seem to help, but upgrading to the unstable version of gcc seemed to help, and so did booting from the LiveCD and chroot'ing. GCC/incorrect CFLAGS issue, apparently no longer an issue. Reopen if so. |