Building glibc-nptl-linux2.6 on a non-tls host
Andreas Jaeger
aj@suse.de
Mon Aug 25 07:10:00 GMT 2003
Sylvain BERTRAND <xod@mail15.com> writes:
> Hi,
> I try to build a native CVS glibc(19/08/2003) with TLS, NPTL(tarball
> v0.56) and linux 2.6-test3 headers.
> I use gcc 3.3.1 and the CVS binutils 2.14.90(21/08/2003), my system is
> i686-pc-linux-gnu, glibc 2.3.2(no-TLS), linux 2.4.21-rc1 and basic GNU
> toolchain based.
>
> When compiling the sunrpc directory it stops when running the rpcgen
> program with the just compiled ld-linux.so.2 linux loader, complaining
> that it was not able to initialize TLS:
>
> CPP='gcc -E -x c-header'
> /home/sylvain/new-distro/objdir/elf/ld-linux.so.2 --library-path
> /home/sylvain/new-distro/objdir:/home/sylvain/new-distro/objdir/math:/home/sylvain/new-distro/objdir/elf:/home/sylvain/new-distro/objdir/dlfcn:/home/sylvain/new-distro/objdir/nss:/home/sylvain/new-distro/objdir/nis:/home/sylvain/new-distro/objdir/rt:/home/sylvain/new-distro/objdir/resolv:/home/sylvain/new-distro/objdir/crypt:/home/sylvain/new-distro/objdir/nptl
> /home/sylvain/new-distro/objdir/sunrpc/rpcgen -Y ../scripts -c
> rpcsvc/bootparam_prot.x -o
> /home/sylvain/new-distro/objdir/sunrpc/xbootparam_prot.T
> cannot set up thread-local storage: set_thread_area failed when
> setting up thread-local storage
>
>
> Must I need a TLS enabled system to compile glibc+TLS+NPTL+linux2.6 or
Yes, you need such system,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030825/2729c4ee/attachment.sig>
More information about the Libc-alpha
mailing list