This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Glibc compile bombs out for arm-linux target!


Lately it seems that most cross-glibc compile are bombing out, mine
included! :-{

host = i686-redhat-linux-gnu (RH7.1)
target = arm-linux (for SA1110: Cerfboard & iPAQ)
binutils-2.11.90.0.31
gcc-2.95.4
glibc-2.2.4

My configure string:
CFLAGS="-O2 -Wall -pipe" CC=arm-linux-gcc \
./configure arm-linux \
--prefix=/usr/arm-dev/arm-linux \
--with-headers=/usr/arm-dev/src/linux/include \
--disable-sanity-checks \
--enable-add-ons \
--build=i686-redhat-linux-gnu

<glibc_compile_run>
rm -f ../libc.so.6.new
/bin/sh ../scripts/rellns-sh ../libc.so ../libc.so.6.new
mv -f ../libc.so.6.new ../libc.so.6
arm-linux-gcc -nostdlib -nostartfiles -o iconvconfig 
-Wl,-dynamic-linker=/usr/arm-dev/arm-linux//lib/ld-linux.so.2 
../csu/crt1.o ../csu/crti.o `arm-linux-gcc --print-file-name=crtbegin.o` 
iconvconfig.o strtab.o xmalloc.o 
-Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads 
../libc.so.6 ../libc_nonshared.a -lgcc `arm-linux-gcc 
--print-file-name=crtend.o` ../csu/crtn.o
../elf/ld-linux.so.2: undefined reference to `elf_machine_rela'
collect2: ld returned 1 exit status
make[1]: *** [iconvconfig] Error 1
make[1]: Leaving directory `/usr/src/arm-toolchain/glibc-2.2.4/iconv'
make: *** [iconv/others] Error 2
</glibc_compile_run>

Any clues anyone??


-- 
Wai-Sun "Squidster" Chia
RHCE/Professional Services
Linux/Unix/Web Developer



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]