Date: Tue, 12 Sep 2017 05:47:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222247] libmsun tests does not compile during a buildworld Message-ID: <bug-222247-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222247 Bug ID: 222247 Summary: libmsun tests does not compile during a buildworld Product: Base System Version: 11.1-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: bsdpr@phoe.frmug.org When making a buildworld using base sources taken from the 11-stable branch (svn r323423) on a 10-stable i386 host, the build procedure fails when maki= ng libmsun test commands. There is no src.conf file, build is done as a non-privileged user outside of /usr/src.=20 Make is invoked as Target=3Dbuildworld MAKEOBJDIRPREFIX=3D`pwd`/../obj \ make -D NO_CLEANDIR -D NO_CLEAN $* $Target 2>& 1 | \ tee ../${Target}.log Here is a truncated build log: [...] -------------------------------------------------------------- >>> stage 4.3: building everything -------------------------------------------------------------- [...] =3D=3D=3D> lib/msun/tests (all) [...] (cd /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests &&=20 DEPENDFILE=3D.depend.exponential_test NO_SUBDIR=3D1 make -f /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/Makefile _RECURSING_PROGS=3Dt PROG=3Dexponential_test ) cc -O2 -pipe -DHAVE_FENV_H -I/home/elrond/FreeBSD-work/11-LOCAL/src/contrib/netbsd-tests/lib/libc/gen -D__HAVE_LONG_DOUBLE -O0 -DLDBL_PREC=3D64 -g -MD=20 -MF.depend.exponential_test.exponential_test.o -MTexponential_test.o -std=3Diso9899:1999 -fstack-protector-strong -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses=20 -Qunused-arguments -c /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c -o exponential_test.o In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c:41: In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/ieeefp.h:13: /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/machine/ieeefp.h:111:9: error: '__fldcw' macro redefined [-Werror,-Wmacro-redefined] #define __fldcw(addr) __asm __volatile("fldcw %0" : : "m" (*(addr))) ^ /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/fenv.h:98:9: note: previous definition is here #define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw)) ^ In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c:41: In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/ieeefp.h:13: /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/machine/ieeefp.h:112:9: error: '__fldenv' macro redefined [-Werror,-Wmacro-redefined] #define __fldenv(addr) __asm __volatile("fldenv %0" : : "m" (*(addr))) ^ /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/fenv.h:99:9: note: previous definition is here #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env= )) ^ In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c:41: In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/ieeefp.h:13: /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/machine/ieeefp.h:114:9: error: '__fnstcw' macro redefined [-Werror,-Wmacro-redefined] #define __fnstcw(addr) __asm __volatile("fnstcw %0" : "=3Dm" (*(addr))) ^ /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/fenv.h:105:9: note: previous definition is here #define __fnstcw(__cw) __asm __volatile("fnstcw %0" : "=3Dm" (*(__= cw))) ^ In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c:41: In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/ieeefp.h:13: /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/machine/ieeefp.h:115:9: error: '__fnstenv' macro redefined [-Werror,-Wmacro-redefined] #define __fnstenv(addr) __asm __volatile("fnstenv %0" : "=3Dm" (*(addr))) ^ /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/fenv.h:104:9: note: previous definition is here #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=3Dm" (*(__env))) ^ In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests/exponential_test.c:41: In file included from /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/ieeefp.h:13: /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/machine/ieeefp.h:116:9: error: '__fnstsw' macro redefined [-Werror,-Wmacro-redefined] #define __fnstsw(addr) __asm __volatile("fnstsw %0" : "=3Dm" (*(addr))) ^ /home/elrond/FreeBSD-work/11-LOCAL/src/../obj/home/elrond/FreeBSD-work/11-L= OCAL/src/tmp/usr/include/fenv.h:106:9: note: previous definition is here #define __fnstsw(__sw) __asm __volatile("fnstsw %0" : "=3Dam" (*(_= _sw))) ^ 5 errors generated. *** Error code 1 Stop. make[6]: stopped in /home/elrond/FreeBSD-work/11-LOCAL/src/lib/msun/tests *** Error code 1 [...] --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222247-8>