Quote (Juanito @ Oct. 14 2007,19:00) |
Did you add TLS to the base glibc binary from somewhere - i.e. in the same way as adding from glibc-linuxthreads-2.3.2.tar.bz2? |
Code Sample |
$ patch -p1 -d /usr/src/glibc-2.3.2 < /mnt/sdb1/source/build/glibc-2.3.2-sscanf-1.patch patching file libio/swprintf.c patching file libio/swscanf.c patching file stdio-common/sscanf.c $ ../glibc-2.3.2/configure --prefix=/opt/build --enable-shared --enable-add-ons --enable-kernel=2.4.26 --with-tls ... $ /opt/build/lib/libc.so.6 GNU C Library stable release version 2.3.2, by Roland McGrath et al. ... Compiled by GNU CC version 3.3.5 (Debian 1:3.3.5-13). Compiled on a Linux 2.6.0-test7 system on 2007-10-17. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. |