Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48068

Summary: xorg fails to compile on ppc
Product: Gentoo Linux Reporter: Douglas Russell (RETIRED) <puggy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xorg preprocessed source

Description Douglas Russell (RETIRED) gentoo-dev 2004-04-16 13:53:22 UTC
I've attempted to compile xorg-x11-6.7.0 on ppc with
-(3dfx) -cjk -debug -doc -hardened -ipv6 +nls +pam -pie +sdk -static
-(3dfx) -cjk -debug -doc -hardened -ipv6 +nls +pam -pie -sdk -static
-(3dfx) -cjk -debug -doc -hardened -ipv6 -nls +pam -pie -sdk -static
-(3dfx) -cjk -debug -doc -hardened -ipv6 -nls -pam -pie -sdk -static

All failed with: 

gcc -c -O2 -pipe -mcpu=7400 -fno-strict-aliasing  -fsigned-char    -I../.. -I../../exports/include   -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				  -DFUNCPROTO=15 -DNARROWPROTO     -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -fPIC process.c
process.c: In function `ProcessAuthNextPhase':
process.c:1683: error: Attempt to delete prologue/epilogue insn:
(insn/f 569 568 570 0 (nil) (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                (const_int 32 [0x20])) [0 S4 A8])
        (reg:SI 24 r24)) -1 (nil)
    (expr_list:REG_FRAME_RELATED_EXPR (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                    (const_int 32 [0x20])) [0 S4 A8])
            (reg:SI 24 r24))
        (nil)))
process.c:1683: internal compiler error: in propagate_one_insn, at flow.c:1741
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/xorg-x11-6.7.0/temp/cceNEHcf.out file, please attach this to your bugreport.
make[4]: *** [process.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/lib/ICE'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.7.0 failed.
!!! Function src_compile, Line 635, Exitcode 2
!!! (no error message)

The preprocessed source is attached as a file.

My emerge info:

Gentoo Base System version 1.4.8
Portage 2.0.50-r6 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-pegasos0)
=================================================================
System uname: 2.6.4-pegasos0 ppc 7457, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/pbbuttons /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs sign"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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 aalib alsa altivec arts cdr crypt dvd encode foomaticdb gif gnome-libs gpm gtk gtk2 imlib java jpeg kde ldap libwww mitshm motif mozilla moznocompose moznoirc moznomail ncurses oggvorbis opengl oss pam pcmcia pdflib perl plotutils png ppc python qt readline samba sdl slang spell ssl tcpd tetex tiff truetype usb xmms xv"

Puggy
Comment 1 Douglas Russell (RETIRED) gentoo-dev 2004-04-16 13:54:38 UTC
Created attachment 29440 [details]
xorg preprocessed source
Comment 2 Douglas Russell (RETIRED) gentoo-dev 2004-04-16 21:14:00 UTC
Turns out this was a gcc-3.3.3 error. kudos to rac for telling me about ICE errors. :-D

Puggy