From owner-svn-src-all@FreeBSD.ORG Fri Feb 24 11:09:27 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCDE1065687; Fri, 24 Feb 2012 11:09:27 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id BF6EF8FC18; Fri, 24 Feb 2012 11:09:26 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:61a6:3c1:817b:1b1c] (unknown [IPv6:2001:7b8:3a7:0:61a6:3c1:817b:1b1c]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C84B65C37; Fri, 24 Feb 2012 12:09:25 +0100 (CET) Message-ID: <4F476FEA.1090004@FreeBSD.org> Date: Fri, 24 Feb 2012 12:09:30 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: Alexander Best References: <201202232134.q1NLYEq5024067@svn.freebsd.org> <20120224093807.GA88853@freebsd.org> In-Reply-To: <20120224093807.GA88853@freebsd.org> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r232074 - head/sys/cam/ctl X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 24 Feb 2012 11:09:27 -0000 On 2012-02-24 10:38, Alexander Best wrote: > is the clang version in base able to do complete universe builds for i386 and > amd64 without the need for NO_WERROR= and WERROR= now? "universe" means all arches, and all kernel configs, so no. The status for head with clang is as follows: - buildworld with default options, e.g. no WITH_XXX or WITHOUT_XXX settings, will complete without any (fatal) warnings. - buildkernel of the default GENERIC config still has one warning left, in sys/dev/mps/mps_sas.c. It should be simple to fix, but I'm checking it with Ken first. - The LINT kernel configs probably have many warnings left. I haven't tested those extensively. As soon as world & kernel compile without warnings, I'd like to have a tinderbox that continually builds with clang. So head won't be regressing any more. :) > ps: are there any plans to add support for compiling kernel+userland with clang > tot? maybe this can be accomplished by doing something like > > echo "WITH_CLANG_TOT=yes" >> /etc/src.conf I'm not working on this at the moment. Pawel Worach (CC'd) has a buildbot setup that builds FreeBSD daily with clang ToT. Apparently just a few patches are needed. > which will turn all -Wformat-invalid-specifier and -Wformat-extra-args errors > into warnings (because clang tot doesn't support -fformat-extensions)? It would be better to push our format extensions upstream, I think. Though the option should probably be renamed to something else, e.g. -ffreebsd-extensions, or such.