PATCH: Putting gcc v2 and v3 fame unwind support in glibc
H . J . Lu
hjl@lucon.org
Sun Jul 8 12:01:00 GMT 2001
On Sun, Jul 08, 2001 at 08:22:51PM +0200, Paolo Carlini wrote:
>
> I have just applied your patch to an out-of-box glibc2.2.3+nss patch and tried
> to build it with gcc3.0 release. Unfortunately make check fails in the
> iconvdata tests as follows (did'nt you already solve this problem?!?):
>
It works for me.
> ../csu/crtn.o
> GCONV_PATH=../iconvdata LC_ALL=C ../elf/ld-linux.so.2 --library-path
> ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
> ./bug-iconv1 > bug-iconv1.out make[1]: *** [bug-iconv1.out] Error 1
> make[1]: Leaving directory `/home/paolo/libc/iconvdata'
> make: *** [iconvdata/tests] Error 2
I think your problem may be the location of libgcc_s.so.1. libc.so is
not linked against libgcc_s.so.1, but all other DSOs are. When you
run ./bug-iconv1, some DSO loaded by ./bug-iconv1 has to find
libgcc_s.so.1 somewhere. I have
# ls -l /lib/libgcc_s* /usr/lib/libgcc_s*
-rw-r--r-- 1 root root 191044 Jul 2 14:27 /lib/libgcc_s-3.0.1-20010702.so
-rwxr-xr-x 1 root root 189314 Jul 3 17:01 /lib/libgcc_s-3.0.1-20010703.so
lrwxrwxrwx 1 root root 26 Jul 3 17:01 /lib/libgcc_s.so.1 -> libgcc_s-3.0.1-20010703.so
lrwxrwxrwx 1 root root 23 Jul 2 14:27 /usr/lib/libgcc_s.so -> ../../lib/libgcc_s.so.1
I think it is one way to deal with libgcc_s.so.1 on Linux.
H.J.
More information about the Libc-alpha
mailing list