> now i am having some troubles compiling your latest glibc-2.0.4-970701 ..
>
> after problems concerning linux kernel version which i fixed by fooling
> the configure script i get the following errors/warnings followed by a
> segfault:
This file should be built by the native compiler. You somehow told
configure to use mips-linux-gcc for $CC. But configure also defaults
$BUILD_CC to $(CC), so you also need to pass name of the native compiler
in the BUILD_CC variable when configuring. Something like
CC=mips-linux-gcc BUILD_CC=gcc ../configure --prefix=/usr --enable-shared ...
> mips-linux-gcc -fPIC -I$cwd/. -I$cwd/libio <some stuff del'd>
> $cwd/sysdeps/posix/mk-stdiolim.c -o mk-stdiolim
> /usr/local/mips-linux/bin/ld: /var/tmp/cca005j01.o: needs all files compiled
> with -fPIC
> /usr/local/mips-linux/bin/ld: __main.o: needs all files compiled with -fPIC
> /usr/local/mips-linux/bin/ld: _ctors.o: needs all files compiled with -fPIC
> /usr/local/mips-linux/bin/ld: _ctors.o: uses different e_flags (0x0) fields
> than previous modules (0x1)
> /usr/local/mips-linux/bin/ld: _exit.o: needs all files compiled with -fPIC
> /usr/local/mips-linux/bin/ld: _exit.o: uses different e_flags (0x0) fields
> than previous modules (0x1)
> sysdeps/../mk-stdiolim > sysdeps/../stdio_lim.h-t
> make: *** [sysdeps/../stdio_lim.h] Segmentation fault (core dumped)
Ralf
|