about libgcc and libc.so.6 problem

Ken Chuang tckchuang@yahoo.com
Wed Feb 12 01:13:00 GMT 2003


Hi All,
   I got the error messages when building glibc-2.2.5
for xscale toolchain. It seems the libgcc building was
not very successful because the
'size_of_encoded_value' and
'read_encoded_value_with_base' are defined when
building libgcc. Therefore, the libc.so.6 could
reference those variables. However, the libc.so.6 I
build couldn't get them. Any of you have idea about
solving the problem. Thanks.
Ken

Here are the error messages:

~/GNU/build/kenTestForArmv5b/glibc-2.2.5/iconv$
armv5b-linux-gcc -mbig-endian -nostdlib -nostartfiles
-o iconvconfig 
-Wl,-dynamic-linker=/usr/local/v2armv5b-linux/lib/ld-linux.so.2
../csu/crt1.o ../csu/crti.o `armv5b-linux-gcc
-mbig-endian --print-file-name=crtbegin.o`
iconvconfig.o strtab.o xmalloc.o 
-Wl,-rpath-link=/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/math:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/elf:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/dlfcn:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/nss:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/nis:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/rt:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/resolv:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/crypt:/export/home/kchuang/GNU/build/kenTestForArmv5b/glibc-2.2.5/linuxthreads
../libc.so.6 ../libc_nonshared.a -lgcc
`armv5b-linux-gcc --print-file-name=crtend.o`
../csu/crtn.o
../libc.so.6: undefined reference to
`size_of_encoded_value'
../libc.so.6: undefined reference to
`read_encoded_value_with_base'
collect2: ld returned 1 exit status



__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



More information about the Gcc mailing list