aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Heiko Thiery <heiko.thiery@gmail.com>2020-09-07 22:24:10 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-09-11 23:31:18 +0200
commit98948b69d987ea6a20bfbc375d1b826c13699948 (patch)
treead6865084d2be1f0d556806ba7d5150dc6b16059
parent728bc4ce597c6252ecb8ce8a63eb269748fee898 (diff)
downloadbuildroot-98948b69d987ea6a20bfbc375d1b826c13699948.tar.gz
buildroot-98948b69d987ea6a20bfbc375d1b826c13699948.tar.bz2
package/strace: disable mpers support
On aarch64 With the config option "--enable-mpers=check" the configure.ac script searchs for a 32bit compiler. When a matching compiler is found in the PATH some compatiblity checks are done. This can fail when the available kernel headers on host and buildroot target does not match. Since buildroot does not support 32bit binaries when building for 64bit architecture (no -m32 option) we can disable this option unconditionally. When disabling unconditionally also the configuration for toolchain using MUSL can be removed. Cc: Baruch Siach <baruch@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Brandon Maier <brandon.maier@rockwellcollins.com> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit bae614258259289671c4b6e46564bbb88c972b26) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/strace/strace.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 5ad249b13c..3dd650f018 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -9,15 +9,7 @@ STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
STRACE_SITE = https://strace.io/files/$(STRACE_VERSION)
STRACE_LICENSE = LGPL-2.1+
STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later
-STRACE_CONF_OPTS = --enable-mpers=check
-
-# strace bundle some kernel headers to build libmpers, this mixes userspace
-# headers and kernel headers which break the build with musl.
-# The stddef.h from gcc is used instead of the one from musl.
-ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
-STRACE_CONF_OPTS += st_cv_m32_mpers=no \
- st_cv_mx32_mpers=no
-endif
+STRACE_CONF_OPTS = --enable-mpers=no
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
STRACE_DEPENDENCIES += libunwind