From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 23:01:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01BF01065675 for ; Mon, 14 Jun 2010 23:01:29 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id B664B8FC22 for ; Mon, 14 Jun 2010 23:01:28 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 1295B63307B for ; Tue, 15 Jun 2010 01:01:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 429B72CECDE for ; Tue, 15 Jun 2010 01:02:12 +0200 (CEST) Date: Tue, 15 Jun 2010 01:02:10 +0200 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Message-ID: <20100615010210.24b3c5f0@davenulle.org> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA57A95@w2003s01.double-l.local> References: <20100613153656.7dd9bbd5@davenulle.org> <57200BF94E69E54880C9BB1AF714BBCBA57A95@w2003s01.double-l.local> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: llvm in head? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 23:01:29 -0000 Le Mon, 14 Jun 2010 16:46:22 +0200, "Johan Hendriks" a écrit : > >Hello, > > >How to use llvm/clang to build the world and the kernel in HEAD since > >the import? The wiki on clangBSD is not clear on this point (I think > >it has not been updated). > > >Thanks, regards. > > On i386, AMD64 and ppc you do not have to do anything. > It will be build with clang/llvm by default. Sure, but my question is to build the world and the kernel using it. I've setup a fresh current in a virtual box, then set up /etc/src.conf with: CC=clang NO_WERROR= WERROR= Then if I try to do a make buildworld, clang is used but it always fails while building libgcc. So I think I missed something. Thanks.