summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-10-30 08:06:24 +0000
committerngie <ngie@FreeBSD.org>2015-10-30 08:06:24 +0000
commit24409c318d1686feec71b2c2c666d90963266318 (patch)
treef91e7526629ccfd54ebea00c32b39beba48b4ac2 /lib
parent7c88d0738cfab36a9b4a206af6da251200b61281 (diff)
downloadFreeBSD-src-24409c318d1686feec71b2c2c666d90963266318.zip
FreeBSD-src-24409c318d1686feec71b2c2c666d90963266318.tar.gz
Disable h_raw/h_read with gcc
I forgot that these testcases fail with gcc 4.2.1; add a note to that effect MFC after: never Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/tests/ssp/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile
index 03c305b..8b43d91 100644
--- a/lib/libc/tests/ssp/Makefile
+++ b/lib/libc/tests/ssp/Makefile
@@ -26,10 +26,15 @@ PROGS+= h_memmove
PROGS+= h_memset
# This testcase doesn't run properly when not compiled with -fsantize=bounds
# with clang, which is currently contingent on a compiler_rt update
-.if (${COMPILER_TYPE} != "clang" || \
- (${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}))
+#
+# 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.
+.if ${COMPILER_TYPE} == "clang"
+.if ${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}
PROGS+= h_raw
.endif
+.endif
PROGS+= h_read
PROGS+= h_readlink
PROGS+= h_snprintf
OpenPOWER on IntegriCloud