strange segfault with pthreads in 0.9.28

Peter S. Mazinger ps.m at gmx.net
Mon May 15 07:36:28 UTC 2006


On Sun, 14 May 2006, Dr. Rupert Mazzucco wrote:

> To follow up on myself:  I thought that maybe I'd have to go back to using glibc, but it turns out I can't compile glibc-2.4 either.  Configure fails:
> 
>   running configure fragment for nptl/sysdeps/pthread
>   configure: error: compiler support for __thread is required

__thread support is needed when TLS is used (not supported by uClibc yet)

> 
> This is the gcc I built from these buildroot-patched gcc-3.4.6 sources and which was also used to build uClibc.  Could this be the reason why there is a problem with pthreads?  And if yes, how can I get __thread support?  Will it help to upgrade to gcc4? (May be a good time anyway, gcc-4.1.1 is due tomorrow.)
> 
> Thanks,
> Rupert

Do you mean you try to use cross-compiler gcc to build glibc as well?

glibc-2.4 is pretty new and requires new gcc/binutils for sure

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list