I cannot emerge openmotif. I get some internal compiler error: gcc -fno-stack-protector -O2 -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:TI 1993 4 1992 (set (reg:SI 0 0) (const_int -2147487920 [0xffffffff7fffef50])) 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/ccAzGolo.out file, please attach this to your bugreport. make[3]: *** [mkcatdefs.o] Error 1 I tried with gcc 2.95.3, 3.3.3, 3.4.1. With -O3 and -O2. With and without -fno-strict-aliasing. With and without -fno-stack-protector. In all cases I keep getting this error. Note: The make process of openmotif still goes on and emerge reports it as successfully merged. However, libs are not built. Only things like manpages are installed. Reproducible: Always Steps to Reproduce: 1. emerge openmotif 2. 3. Actual Results: emerge reports successfully built. However, compiler errors, libraries are not built. Expected Results: It should have built successfully. Also, it should not continue and report success if part of compilation failed. Portage 2.0.51_rc1 (default-ppc-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6. 7-gentoo-r14 ppc) ================================================================= System uname: 2.6.7-gentoo-r14 ppc 750FX Gentoo Base System version 1.5.3 distcc 2.17 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [e nabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=750 -pipe" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown / usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/s hare/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/t ex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=750 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distri butions/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X arts berkdb dvd emacs esd gdbm gif gnome-libs gtk imlib jpeg kde libwww m otif nls no_wxgtk1 oggvorbis opengl pam perl png ppc python qt readline ruby sdl ssl tcltk tcpd tetex truetype"
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.