compiling glibc with TLS?
ozgun erdogan
kushcu at hotmail.com
Thu Apr 29 00:54:33 UTC 2004
Trying to compile on Fedora 1 (kernel 2.4.22) with gcc 3.3.2.
Downloaded glibc 2.3.2 and linuxthreads 2.3.2 from gnu.org.
>>../configure --prefix=/usr --enable-add-ons --with-tls
(if I don't use --with-tls here, I get "libc.so.6 cannot handle TLS
data" when I try to make install.)
"make"s fine. when I try to make install, I get the following:
linuxthreads/libpthread.so: undefined reference to '_h_errno'
I'm overlooking something here. However, I couldn't find something relevant
on the FAQ/Install pages or in Google. Any help would be appreciated,
Thanks,
Ozgun.
PS: I was reading the announcement for glibc 2.3, and it says:
:: Even though TLS support is mentioned as one new feature for this release
the default is not to build glibc with TLS support enabled. This has
several reasons, most of which are out of control of the glibc
developers. Therefore it is necessry to *not* use the --with-tls option for
configure. ::
I don't get this, if we aren't supposed to use --with-tls, why is it there?
Fedora's default libc.so has tls enabled (I'm just guessing this from
libc.so.6 => /lib/tls/libc.so.6), and I think that's why I need to configure
--with-tls too.
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the fedora-list
mailing list