svn commit: r290200 - head/lib/libc/tests/ssp

Sean Bruno sbruno at FreeBSD.org
Fri Oct 30 17:05:54 UTC 2015


Author: sbruno
Date: Fri Oct 30 17:05:52 2015
New Revision: 290200
URL: https://svnweb.freebsd.org/changeset/base/290200

Log:
  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.

Modified:
  head/lib/libc/tests/ssp/Makefile

Modified: head/lib/libc/tests/ssp/Makefile
==============================================================================
--- head/lib/libc/tests/ssp/Makefile	Fri Oct 30 16:35:18 2015	(r290199)
+++ head/lib/libc/tests/ssp/Makefile	Fri Oct 30 17:05:52 2015	(r290200)
@@ -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


More information about the svn-src-all mailing list