From owner-freebsd-current@FreeBSD.ORG Sat Mar 24 14:08:11 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB586106564A for ; Sat, 24 Mar 2012 14:08:11 +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 9A1718FC17 for ; Sat, 24 Mar 2012 14:08:11 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:c8dc:6e5:d0ce:fe36] (unknown [IPv6:2001:7b8:3a7:0:c8dc:6e5:d0ce:fe36]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C74DA5C37 for ; Sat, 24 Mar 2012 15:08:10 +0100 (CET) Message-ID: <4F6DD54F.4080606@FreeBSD.org> Date: Sat, 24 Mar 2012 15:08:15 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: HEADS UP: As of r233419, head should compile cleanly with clang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2012 14:08:11 -0000 Hi, As of r233419 in head, you should now be able to build world and the GENERIC kernel using clang, and without the need to place NO_WERROR= and/or WERROR= in your src.conf file. Note this is only valid for i386 and amd64, and there are still some non-standard world settings that lead to warnings that break the build. For example, WITH_ICONV does not fully work yet. Also, not all kernel configurations will fully compile without warnings. If there are any clang-specific warnings that you get for your custom kernel configuration, please let me know, so I can go hunting for a proper fix or workaround. Last but not least, it would be nice to have world and kernel not regress anymore, so if there is somebody who can offer resources for a tinderbox or other continuous head build with clang, please speak up. :)