From owner-svn-src-head@freebsd.org Fri Oct 30 08:06:25 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8C2AA20139; Fri, 30 Oct 2015 08:06:25 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F9391BA2; Fri, 30 Oct 2015 08:06:25 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9U86OBn030698; Fri, 30 Oct 2015 08:06:24 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9U86OML030697; Fri, 30 Oct 2015 08:06:24 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201510300806.t9U86OML030697@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Fri, 30 Oct 2015 08:06:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290185 - head/lib/libc/tests/ssp X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 08:06:25 -0000 Author: ngie Date: Fri Oct 30 08:06:24 2015 New Revision: 290185 URL: https://svnweb.freebsd.org/changeset/base/290185 Log: 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 Modified: head/lib/libc/tests/ssp/Makefile Modified: head/lib/libc/tests/ssp/Makefile ============================================================================== --- head/lib/libc/tests/ssp/Makefile Fri Oct 30 08:01:53 2015 (r290184) +++ head/lib/libc/tests/ssp/Makefile Fri Oct 30 08:06:24 2015 (r290185) @@ -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