glibc-2.5 fails to build w/out TLS

Mike Frysinger vapier@gentoo.org
Sat Oct 21 07:54:00 GMT 2006


i know the response is "too bad" so this e-mail is more for reference in case 
other people hit it ...

while the plan was to fade out support for non-TLS in glibc-2.6+, seemed it 
crept in early with inet/inet_ntoa.c with the rewrite to stop using TSD and 
use TLS

quick fix is to just take the inet_ntoa.c from glibc-2.4 and drop it in

otherwise, a non-tls build will fail along the lines of:
.../libc_pic.os: In function `inet_ntoa': undefined reference to 
`___tls_get_addr'
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20061021/9e7136e7/attachment.sig>


More information about the Libc-alpha mailing list