[Buildroot] [PATCH 1/3] uclibc: adapt thread implementation selection to uClibc-ng
Waldemar Brodkorb
wbx at openadk.org
Sat Mar 7 17:20:39 UTC 2015
Hi Thomas,
Thomas Petazzoni wrote,
> uClibc-ng does not support linuxthreads or linuxthreads.old on
> architectures that have NPTL support. This creates another complicated
> dependency: dependeing on the uClibc version being used, not the same
> thread implementations are available.
>
> In order to handle this situation, this patch introduces three hidden
> booleans:
>
> - BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
> - BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
> - BR2_UCLIBC_VERSION_SUPPORTS_NPTL
>
> They are selected by the different uClibc versions, depending on which
> thread implementation they support on the different architectures.
>
> Then, the choice of the thread implementation can rely on those
> booleans to know if a given thread implementation is available in the
> current architecture / uClibc version selection.
Looks good to me so far.
I am still unsatisfied about the ARC situation.
If you use this branch of gcc:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/tree/arc-4.8-tls
You get a working toolchain with TLS support and can use uClibc-git
or uClibc-ng 1.0.0 with NPTL.
best regards
Waldemar
More information about the buildroot
mailing list