Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 00:51:36 +0000 (UTC)
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323515 - stable/11/lib/msun/tests
Message-ID:  <201709130051.v8D0paSx020154@repo.freebsd.org>

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



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