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@bootlin.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
4.9.4 | ||
5.5.0 | ||
6.4.0 | ||
7.3.0 | ||
8.2.0 | ||
arc-2018.03 | ||
gcc-final | ||
gcc-initial | ||
or1k-musl-5.4.0-20170218 | ||
Config.in.host | ||
gcc.hash | ||
gcc.mk |