summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-10-30 17:05:52 +0000
committersbruno <sbruno@FreeBSD.org>2015-10-30 17:05:52 +0000
commit7638b7359705b201a0367655493c694965d15e8f (patch)
treeebadb197799c468cd7ea398bc2a761ef4ee9cf36 /lib
parentb93e62f3e668c9e23c573e2f7a6ad4c6620d9f8d (diff)
downloadFreeBSD-src-7638b7359705b201a0367655493c694965d15e8f.zip
FreeBSD-src-7638b7359705b201a0367655493c694965d15e8f.tar.gz
Not all targets support by clang have a tested or enabled ubsan yet.
Only enable h_raw on x86 targets for today so that a buildworld runs to completion for clang enabled targets that are not x86. This should be removed when validation of the sanitizer has occured for all targets supported by FreeBSD and clang.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/tests/ssp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile
index 8b43d91..dff1578 100644
--- a/lib/libc/tests/ssp/Makefile
+++ b/lib/libc/tests/ssp/Makefile
@@ -30,11 +30,15 @@ PROGS+= h_memset
# XXX: the h_raw/h_read testcases don't cause a SIGABRT with in-tree gcc right
# now on amd64 when it trips the stack bounds specified in t_ssp.sh . This
# probably needs to be fixed as it's currently hardcoded.
+#
+# sanitizer is not tested or supported for ARM right now. sbruno
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
.if ${COMPILER_TYPE} == "clang"
.if ${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}
PROGS+= h_raw
.endif
.endif
+.endif
PROGS+= h_read
PROGS+= h_readlink
PROGS+= h_snprintf
OpenPOWER on IntegriCloud