From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sat, 03 Oct 2020 08:09:21 +0200 Subject: [Buildroot] [PATCH] package/gcc: help libbacktrace detection of sync builtins In-Reply-To: <20200925090451.1407258-1-romain.naour@gmail.com> (Romain Naour's message of "Fri, 25 Sep 2020 11:04:51 +0200") References: <20200925090451.1407258-1-romain.naour@gmail.com> Message-ID: <87tuvbzvqm.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Romain" == Romain Naour writes: > From: Thomas Petazzoni > 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 > [Romain: use target_configargs="libbacktrace_cv_sys_sync=no"] > Signed-off-by: Romain Naour Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks. -- Bye, Peter Korsgaard