On 2013-05-27 16:07, Steve Kargl wrote:
On Mon, May 27, 2013 at 08:50:10AM +0000, David Schultz wrote:
Author: das
Date: Mon May 27 08:50:10 2013
New Revision: 251024
URL: http://svnweb.freebsd.org/changeset/base/251024

Log:
   Fix some regressions caused by the switch from gcc to clang. The fixes
   are workarounds for various symptoms of the problem described in clang
   bugs 3929, 8100, 8241, 10409, and 12958.

   The regression tests did their job: they failed, someone brought it
   up on the mailing lists, and then the issue got ignored for 6 months.
   Oops. There may still be some regressions for functions we don't have
   test coverage for yet.


The combination of clang+regression tests is almost unusable.

% cd src/tools/regressions/lib/msun
% make |& tee sgk.log
% grep generated sgk.log
41 warnings generated.
1 warning generated.
1 warning generated.
593 warnings generated.
51 warnings generated.
1 warning generated.
221 warnings generated.
1 warning generated.
265 warnings generated.
84 warnings generated.
1 warning generated.
1 warning generated.
2 warnings generated.
74 warnings generated.

The following should help.  Results in just a few warnings now, which
may or may not be real bugs:

1 warning generated.
1 warning generated.
2 warnings generated.
1 warning generated.

Index: tools/regression/lib/msun/Makefile
===================================================================
--- tools/regression/lib/msun/Makefile  (revision 250997)
+++ tools/regression/lib/msun/Makefile  (working copy)
@@ -5,6 +5,7 @@
        test-fmaxmin test-ilogb test-invtrig test-logarithm test-lrint \
        test-lround test-nan test-nearbyint test-next test-rem test-trig
 CFLAGS+= -O0 -lm
+CFLAGS+= -Wno-unused-value -Wno-unknown-pragmas
.PHONY: tests
 tests: ${TESTS}
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to