svn commit: r323515 - stable/11/lib/msun/tests
Ryan Libby
rlibby at FreeBSD.org
Wed Sep 13 00:51:37 UTC 2017
Author: rlibby
Date: Wed Sep 13 00:51:36 2017
New Revision: 323515
URL: https://svnweb.freebsd.org/changeset/base/323515
Log:
MFC r321483 (by ngie):
Mask issues with duplicate definitions for __fnstcw, __fldenv, and
__fldcw on i386 by ignoring -Wmacro-redefined.
This is a bandaid until the code is fixed and will be reverted before
MFC.
This unbreaks the tinderbox build for i386. Although the head commit
log suggests this would not be MFC'd, it nevertheless is being MFC'd as
the commit that enabled the warnings that this silences was MFC'd
without any proper fix for the warnings (head r321455, stable/11
r323299).
Modified:
stable/11/lib/msun/tests/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/msun/tests/Makefile
==============================================================================
--- stable/11/lib/msun/tests/Makefile Wed Sep 13 00:37:42 2017 (r323514)
+++ stable/11/lib/msun/tests/Makefile Wed Sep 13 00:51:36 2017 (r323515)
@@ -84,6 +84,10 @@ SRCS.ilogb2_test= ilogb_test.c
LIBADD+= m
+.if ${MACHINE_CPUARCH} == "i386"
+# XXX: __fldcw macro mismatch between fenv.h and ieeefp.h .
+CWARNFLAGS.clang+= -Wno-error=macro-redefined
+.endif
WARNS?= 1
# Copied from lib/msun/Makefile
More information about the svn-src-stable
mailing list