Emerge was taking place on a 17" PowerBook G4/1.33gHz. Gentoo is current with keyword "ppc" as of 2004/01/12. Use is undefined. jaj@odysseus[~]$ gcc -v Reading specs from /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/specs Configured with: /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.2 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.2/info --enable-shared --host=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) jaj@odysseus[~]$ uname -a Linux odysseus.jajcs.net 2.6.1-benh1 #1 Tue Jan 13 14:06:14 EST 2004 ppc 0 7457, altivec supported GNU/Linux Reproducible: Always Steps to Reproduce: 1. emerge xfree-4.3.99.902 2. boom Actual Results: gcc -O2 -O2 -O2 -O2 -pipe -mcpu=7450 -fsigned-char -fno-stack-protector -fno- merge-constants -I../../../../../exports/include - I../../../../../exports/include/X11 - I../../../../../include/extensions - I../../../../../extras/Mesa/include -I../../../../../lib/GL/include - I../../../../../extras/Mesa/src - I../../../../../programs/Xserver/include -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 -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP - DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX - DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH - DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE - DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension - DX_BYTE_ORDER=X_BIG_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO - DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING - DGLX_USE_DLOPEN -DGLX_USE_MESA -c get.c get.c: In function `_mesa_GetDoublev': get.c:2862: internal error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[7]: *** [get.o] Error 1 make[7]: Leaving directory `/var/tmp/portage/xfree- 4.3.99.902/work/xc/programs/Xserver/GL/mesa/src' make[6]: *** [all] Error 2 make[6]: Leaving directory `/var/tmp/portage/xfree- 4.3.99.902/work/xc/programs/Xserver/GL/mesa' make[5]: *** [mesa] Error 2 make[5]: Leaving directory `/var/tmp/portage/xfree- 4.3.99.902/work/xc/programs/Xserver/GL' make[4]: *** [GL] Error 2 make[4]: Leaving directory `/var/tmp/portage/xfree- 4.3.99.902/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xfree-4.3.99.902 failed. !!! Function src_compile, Line 468, Exitcode 2 !!! (no error message) Expected Results: XFree should build. No other sessions in progress. Machine has 512mb of memory. jaj@odysseus[~]$ emerge info Portage 2.0.49-r21 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-benh1) ================================================================= System uname: 2.6.1-benh1 ppc 0 Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X berkdb cups dvd esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd truetype xv"
-mcpu=7450 is known to be unstable. Could you please test emerging it with -mcpu=7400? I'm not able to reproduce this error with CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt"
It is important that you disable ccache when building unstable versions of xfree. Example: FEATURES="ccache" in /etc/make.conf emerge xfree-4.3.99.902 emerge xfree-4.5.99.902-r2 This will cause compile errors for the second package, regardless of CFLAGS and USE Solution: use safe CFLAGS and remove ccache from FEATURES
xfree support is deprecated on ppc