Problem building glibc under 0.28rc{28,31}

Ken Rose kenrose@tfb.com
Sat Aug 14 01:35:00 GMT 2004


Hi,

I'm having a problem building gcc-3.2.3-glibc-2.2.3 for linux-2.4.26
under crosstools-0.28.  I'm upgrading the kernel under a bunch of
software on a ppc405GPr target board, and I'd like to build a new glibc
to slide onto the boards boot image, and keep the other userland code
as-is. I modified gcc-3.2.3-glibc-2.2.3.dat to use kernel 2.4.26.
I thought it was obvious that's what caused the problem, but the 
unchanged version shows the same problem.  I'm hoping there's a
solution short of recompiling userland or skipping the kernel upgrade.

Has anyone else seen this, or have I not yet completely cleaned up my 
system?

Here's the error message.  TIA

  - ken

powerpc-405-linux-gnu-gcc  ../sysdeps/powerpc/fclrexcpt.c -c -O -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -mcpu=405 -mnew-mnemonics
-Wa,-mppc -mpowerpc     -Wno-uninitialized  -I../include -I.
-I/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/build-glibc/math 

-I.. -I../libio
-I/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/build-glibc 

-I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-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
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/powerpc/soft-fp
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/lib/gcc-lib/powerpc-405-linux-gnu/3.2.3/include 

-isystem
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/powerpc-405-linux-gnu/include 

-D_LIBC_REENTRANT -include ../include/libc-symbols.h     -I../soft-fp/
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE
-D_Mlong_double_=double -o
/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/build-glibc/math/fclrexcpt.o
../sysdeps/powerpc/fclrexcpt.c:20:23: fenv_libc.h: No such file or directory
../sysdeps/powerpc/fclrexcpt.c: In function `__feclearexcept':
../sysdeps/powerpc/fclrexcpt.c:26: `fenv_union_t' undeclared (first use
in this function)
../sysdeps/powerpc/fclrexcpt.c:26: (Each undeclared identifier is
reported only once
../sysdeps/powerpc/fclrexcpt.c:26: for each function it appears in.)
../sysdeps/powerpc/fclrexcpt.c:26: syntax error before "u"
../sysdeps/powerpc/fclrexcpt.c:29: `u' undeclared (first use in this
function)
../sysdeps/powerpc/fclrexcpt.c:29: warning: implicit declaration of
function `fegetenv_register'
../sysdeps/powerpc/fclrexcpt.c:32: `FPSCR_VX' undeclared (first use in
this function)
../sysdeps/powerpc/fclrexcpt.c:32: `FE_ALL_INVALID' undeclared (first
use in this function)
../sysdeps/powerpc/fclrexcpt.c:33: `FPSCR_STICKY_BITS' undeclared (first
use in this function)
../sysdeps/powerpc/fclrexcpt.c:36: warning: implicit declaration of
function `fesetenv_register'
make[2]: ***
[/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/build-glibc/math/fclrexcpt.o] 

Error 1
make[2]: Leaving directory
`/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/glibc-2.2.3/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory
`/home/ken/crosstool-0.28-rc31/build/powerpc-405-linux-gnu/gcc-3.2.3-glibc-2.2.3/glibc-2.2.3'
make: *** [all] Error 2
$




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list