buildroot/package/gcc
Thomas Petazzoni 0bec4c8a4a package/gcc: help libbacktrace detection of sync builtins
The logic in libbacktrace/configure.ac to detect if __sync builtins
are available assumes they are as soon as target_subdir is not
empty, i.e when cross-compiling. However, some platforms do not have
__sync builtins, so help the configure script a bit.

"libbacktrace_cv_sys_sync=no" is lost when it is added to
HOST_GCC_COMMON_CONF_ENV because the environment is not exported
when executing the libbacktrace configure script.

Use target_configargs to force "libbacktrace_cv_sys_sync=no" when
executiong the libbacktrace configure script.

Fixes:
https://gitlab.com/bootlin/toolchains-builder/-/jobs/729359681

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Romain: use target_configargs="libbacktrace_cv_sys_sync=no"]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-01 10:48:03 +02:00
..
7.5.0
8.4.0 package/gcc: bump 8.x series to version 8.4.0 2020-03-22 15:31:01 +01:00
9.3.0 package/gcc/9.3.0: fix host-gcc-final when ccache is used 2020-05-31 13:58:48 +02:00
arc-2020.03-release toolchain: update ARC tools to arc-2020.03-release 2020-05-29 23:27:04 +02:00
gcc-final
gcc-initial
Config.in.host package/gcc: bump to gcc 10.2 2020-07-25 08:24:51 +02:00
gcc.hash package/gcc: bump to gcc 10.2 2020-07-25 08:24:51 +02:00
gcc.mk package/gcc: help libbacktrace detection of sync builtins 2020-10-01 10:48:03 +02:00