summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-04-15 16:41:56 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-16 07:59:40 +0200
commite0046e533fe22240f6eda7048d2733b01adb15ef (patch)
tree412f81fa08d0e850dc28dfadba140d0d55691dbd
parent019dd87a38fb733191d6cc24b804b9b08dfac73b (diff)
downloadbuildroot-e0046e533fe22240f6eda7048d2733b01adb15ef.tar.gz
buildroot-e0046e533fe22240f6eda7048d2733b01adb15ef.zip
gcc: disable libsanitizer for sparc
Normally libsanitizer handles the different functionalities gracefully for each architecture, but it doesn't seem to be the case for SPARC. Since in general it doesn't support anything for SPARC just disable it. Fixes bug #7951. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gcc/gcc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 24fd7b8778..be242cb6df 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -126,6 +126,12 @@ ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_TOOLCHAIN_BUILDROOT_MUSL),y)
HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer
endif
+# libsanitizer is broken for SPARC
+# https://bugs.busybox.net/show_bug.cgi?id=7951
+ifeq ($(BR2_sparc),y)
+HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer
+endif
+
ifeq ($(BR2_GCC_ENABLE_TLS),y)
HOST_GCC_COMMON_CONF_OPTS += --enable-tls
else
OpenPOWER on IntegriCloud