Skip to content

Add toolchain knob for NPTL

Mike Zick buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] Add toolchain knob for NPTL
Quoted 10 lines · On Thu, 13 Feb 2014 14:22:01 +0100 Thomas Petazzoni…

We have a growing number of packages that need pthread functions only available when the NPTL implementation is used. But at the same time, we have several architectures (AVR32, ARC, Blackfin and Xtensa) that don't support NPTL.

This set of commits adds a new hidden toolchain config knob named BR2_TOOLCHAIN_HAS_THREADS_NPTL, and uses it in four packages: three were already having special conditions to more-or-less detect the availability of NPTL, and one package (qt5) which fixes an autobuilder failure.

*NIT* :

With the line length limitations, shouldn't variable names be kept to less than 1/2 the line length limits? ;)

Rhetorical:
Can a toolchain **without threads** support NPTL ?

With the above considerations, perhaps the knob could be:
BR2_TOOLCHAIN_NPTL

- - - -

Sorry for the noise, mind is not fully in-gear this morning. Mike