From owner-svn-src-all@FreeBSD.ORG Mon May 27 20:01:32 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D0C7C4D; Mon, 27 May 2013 20:01:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9F795F; Mon, 27 May 2013 20:01:32 +0000 (UTC) Received: from spaceball.andric.com (spaceball.andric.com [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B9F0F5C44; Mon, 27 May 2013 22:01:20 +0200 (CEST) Message-ID: <51A3BB8B.8020405@FreeBSD.org> Date: Mon, 27 May 2013 22:01:15 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Thunderbird/21.0 MIME-Version: 1.0 To: Steve Kargl , David Schultz Subject: Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun References: <201305270850.r4R8oA6g008947@svn.freebsd.org> <20130527140722.GA43583@troutmask.apl.washington.edu> In-Reply-To: <20130527140722.GA43583@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 20:01:32 -0000 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}