[Buildroot] [PATCH] rt-tests: disable for architectures not supporting NPTL
Peter Korsgaard
jacmet at uclibc.org
Thu Jan 9 13:15:27 UTC 2014
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
Hi,
>> So shouldn't we depend on !BR2_PTHREADS && !BR2_PTHREADS_OLD instead? What
>> happens if you configure uClibc on E.G. ARM to use pthreads-old?
> We could, but this doesn't solve the problem for external toolchains. This
> issue of packages that require NPTL keeps coming up, but no solution has been
> implemented yet.
> This patch takes the minimal approach of disabling rt-tests for arches that
> are known not to have NPTL support at all.
Ok, then I think the nicest approach would be to depend on
!linuxthreads/old (for internal toolchains) and the explicit list of
archs where we know glibc/nptl aren't available (for external
toolchains).
If any of the archs we have blacklisted for nptl
(arc/avr32/bfin/extensa/x86_i386) support glibc (with the needed
functionality), then we could combine the arch list with
BR2_TOOLCHAIN_EXTERNAL_UCLIBC.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list