[uclibc-ng-devel] Status of TLS and NPTL support for noMMU
jcmvbkbc at gmail.com
Tue Sep 22 21:12:42 CEST 2015
On Tue, Sep 22, 2015 at 10:04 PM, Sergei Poselenov
<sposelenov at emcraft.com> wrote:
> On Tue, 2015-09-22 at 21:55 +0300, Max Filippov wrote:
>> On Tue, Sep 22, 2015 at 7:10 PM, Sergei Poselenov
>> <sposelenov at emcraft.com> wrote:
>> > On Tue, 22 Sep 2015 18:38:06 +0300
>> > Max Filippov <jcmvbkbc at gmail.com> wrote:
>> >> So my questions are:
>> >> - are TLS and NPTL supported by uClibc for uclinux?
>> >> - if not, what are the supported threading options?
>> > Try linuxthreads.old, it works for us (0.9.33.2, Cortex-M3/M4. Toolchain is an old
>> > CodeSourcery arm-uclinuxeabi arm-2010q1).
>> Ok, I was able to build uClibc with linuxthreads.old and it
>> works. Thank you!
>> I'm a bit concerned about the toolchain that it compiled
>> source with TLS variables without a single warning, but
>> the variables weren't actually thread-local. Oh, well...
> Just for my information - what is your hardware platform and what
> toolchain combo you tried to build?
It's xtensa, binutils-2.24, gcc-5.2.0, uClibc snapshot at
revision 7bf35c8b7d4a1f97174eb49f47f33946b282114c all built
with the buildroot-2015.08, with corresponding patches.
I also had to revert the patch that dropped xtensa-specific
uClibc snapshot, otherwise there's only uClibc-ng which
doesn't offer linuxthreads.old support for xtensa.
More information about the devel