gcc ../sysdeps/ieee754/dbl-64/s_scalbn.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mtune=power4 -pipe -mnew-mnemonics -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads/math -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads -I../sysdeps/powerpc/powerpc64/elf -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc64 -I../linuxthreads/sysdeps/powerpc -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc64/fpu -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.1/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads/math/s_scalbn.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads/math/s_scalbn.o.dt -MT /var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads/math/s_scalbn.o In file included from ../sysdeps/powerpc/fpu/s_isnan.c:26: ../sysdeps/powerpc/fpu/fenv_libc.h:59: error: parse error before numeric constant ../sysdeps/powerpc/fpu/fenv_libc.h:80: error: parse error before numeric constant make[2]: *** [/var/tmp/portage/glibc-2.3.4.20041102/work/build-powerpc64-unknown-linux-gnu-linuxthreads/math/s_isnan.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/math' make[1]: *** [math/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.4.20041102 failed. !!! Function src_compile, Line 691, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. Run the bootstrap script in a chrooted environment on a dual G5 2.5 Ghz box running on a Gentoo livecd Actual Results: glibc did not compile Expected Results: glibc shoul've compiled along with the rest of the packages required by the bootstrap script
Whats output from both "emerge info" and "gcc-config -c"
Here is my make.conf: CHOST="powerpc64-unknown-linux-gnu" CFLAGS="-O3 -mtune=power4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j3"
Here is the output of emerge info: Portage 2.0.51-r3 (default-ppc64-2004.3, gcc-3.4.1, unavailable, 2.6.9-G5 ppc64) ================================================================= System uname: 2.6.9-G5 ppc64 PPC970FX, altivec supported Gentoo Base System version 1.4.16 Autoconf: Automake: Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CFLAGS="-O3 -mtune=power4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe" CHOST="powerpc64-unknown-linux-gnu" COMPILER="" 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/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=power4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb bitmap-fonts cups dvd f77 foomaticdb fortran gdbm gif gpm imlib jpeg libwww mitshm nls oggvorbis oss pam perl png ppc64 python readline sdl slang ssl tcpd truetype xv" Here is the output of gcc-config-c -c: powerpc64-unknown-linux-gnu-3.4.1
try this make.conf.... CHOST="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2"
I tried the new make.conf but still get the error
I got the box to bootstrap by deleting the entire filesystem created by the stage tarball, then reextracted the tarball and used this make.conf: CHOST="powerpc64-unknown-linux-gnu" CFLAGS="-O3 -mtune=970" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j4" USE="" ACCEPT_KEYWORDS="ppc64"
I mark this as FIXED. Please reopen if this happens again.
closing