On Tue, Sep 22, 2015 at 10:04 PM, Sergei Poselenov <sposele...@emcraft.com> wrote: > Max, > On Tue, 2015-09-22 at 21:55 +0300, Max Filippov wrote: >> Sergei, >> >> On Tue, Sep 22, 2015 at 7:10 PM, Sergei Poselenov >> <sposele...@emcraft.com> wrote: >> > On Tue, 22 Sep 2015 18:38:06 +0300 >> > Max Filippov <jcmvb...@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. -- Thanks. -- Max _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc