Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 17:05:52 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290200 - head/lib/libc/tests/ssp
Message-ID:  <201510301705.t9UH5qMD094017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510301705.t9UH5qMD094017>