[Buildroot] [PATCH 1/3] package/gcc: disable libcilkrts when there is no thread support

Peter Korsgaard peter at korsgaard.com
Wed Oct 24 12:37:27 UTC 2018


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > The libcilkrts configure script errors out with "Pthreads are required
 > to build libcilkrts" if the C library doesn't have thread support. To
 > fix that, we disable libcilkrts when thread support is not available.

 > This issue was not noticed until now, because we only regularly build
 > a no-thread toolchain for ARM, and libcilkrts was enabled on ARM only
 > starting in gcc 7.x.

 > This fixes the build of no-thread toolchains on architectures where
 > libcilkrts is supported, i.e x86/x86-64, ARM and Sparc.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2018.02.x and 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list