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
This commit is contained in:
ngie 2015-10-30 08:06:24 +00:00
parent 7c88d0738c
commit 24409c318d

View File

@ -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