Bug#361064: glibc: [patch] make building glibc-2.4 without __thread support possible
On Mon, Apr 10, 2006 at 07:00:36AM +0200, Aurelien Jarno wrote:
> On Thu, Apr 06, 2006 at 11:54:30AM +0200, Michael Banck wrote:
> > the Hurd/Mach still has no TLS or __thread support. This is not that
> > big of a problem as there is --without-tls, but glibc-2.4 uses __thread
> > unconditionally at one place and Ulrich Drepper refused to support
> > systems without __thread support (see
> > http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html ).
> >
> > The attached patch fixes building on system without __thread support
> > (i.e. hurd-i386), is it OK to apply to the 2.4 branch?
>
> If it works, it looks ok to me.
>
> Actually this may even be needed for other architectures. It is still
> (ie in 2.3.6) use for alpha, sparc (64-bit flavour) and i386. I have
> tried to build the i386 package with --with-__thread now that we have
> TLS support on i386, but it failed. No time to investigate though.
>
> Also we still have a few architectures without TLS support (arm, hppa,
> m68k, mips, mipsel), at least in 2.3.6.
>
> Things may have evolved with 2.4 though, I haven't checked.
So should this patch go into any/local-__thread.diff rather than
hurd-i386/?
Michael
Reply to: