Summary: | gcc: ICE while building openmotif on ppc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Bélanger <dbelan2> |
Component: | New packages | Assignee: | PPC Porters <ppc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | preprocessed file dumped |
Description
David Bélanger
2004-09-21 15:52:43 UTC
Created attachment 40132 [details]
preprocessed file dumped
Can you try the build with the CFLAGS: "-O0 -mtune=750 -pipe -fno-strict-aliasing" using gcc 3.4.1? Thanks Same thing with: "-O0 -mtune=750 -pipe -fno-strict-aliasing" gcc -O0 -mtune=750 -fno-strict-aliasing -pipe -fsigned-char -I../.. -I../../exports/include -I../../imports/x11/include -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO -c -o mkcatdefs.o mkcatdefs.c mkcatdefs.c: In function `mkcatdefs': mkcatdefs.c:482: error: could not split insn (insn 1517 1516 1518 (set (reg:SI 0 0) (const_int -2147487872 [0xffffffff7fffef80])) 249 {*movsi_internal1} (nil) (nil)) mkcatdefs.c:482: internal compiler error: in final_scan_insn, at final.c:2429 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/openmotif-2.1.30-r5/temp/ccVXgpM1.out file, please attach this to your bugreport. Hmm, okay then, one thing that I noticed is that you're building with distcc, maybe that's causing problems? Otherwise it looks similar to my configuration, which works. Try building without distcc and the same CFLAGS (maybe put -O back to the level you originally had). Thanks Small update: I tried with ccache and distcc disabled and I was still having the same problem. I can compile manually the file that does the ICE without the option: -D_XOPEN_SOURCE=500L The ICE does not seem fatal to build libXm. I was unable to build that openmotif lib initially because of a missing libXp. Rebuilding xorg fixed that problem. To summarize, that particular ICE does not prevent building the libs and they seem functional. However, I am still having the ICE. I can replicate this bug now. I'll see if I can figure out what's going on. I'll try once I'm home reproduced locally, looks like a gcc bug afterall upstream bug opened http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18096 The error is still existing in gcc 3.4.3. try openmotif-2.2.3 is this bug still valid? This no longer occurs with the stable version of OpenMotif. Closing the bug. |