From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 14:34:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E25F21065673; Fri, 24 Sep 2010 14:34:39 +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 9D8908FC0A; Fri, 24 Sep 2010 14:34:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:a5b3:6be:99b7:cb4] (unknown [IPv6:2001:7b8:3a7:0:a5b3:6be:99b7:cb4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D56155C43; Fri, 24 Sep 2010 16:34:38 +0200 (CEST) Message-ID: <4C9CB702.50004@FreeBSD.org> Date: Fri, 24 Sep 2010 16:34:42 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10pre) Gecko/20100910 Lanikai/3.1.4pre MIME-Version: 1.0 To: Bartosz Stec References: <4C99A53E.7060707@FreeBSD.org> <4C9A32B8.60204@kkip.pl> <4C9A6A38.4080307@freebsd.org> <4C9A7203.8010701@kkip.pl> <20100923065134.GA31455@freebsd.org> <4C9B3207.2070302@kkip.pl> <4C9B383A.6080008@FreeBSD.org> <4C9B38E2.7010403@kkip.pl> <4C9B6804.3070102@FreeBSD.org> <4C9C8A64.3000103@kkip.pl> <4C9C8FD9.1030305@FreeBSD.org> <4C9C95D7.40600@kkip.pl> In-Reply-To: <4C9C95D7.40600@kkip.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rene Ladan , Roman Divacky , current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 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: Fri, 24 Sep 2010 14:34:40 -0000 On 2010-09-24 14:13, Bartosz Stec wrote: >> Could you please try to rename this make.conf to e.g. make.conf.disable, >> and retry the world build? > Still the same without make.conf. My personal guess is, that clang > builded by clang with CPUTYPE=athlon-xp is somehow broken. I don't think > CFLAGS=-O2 -pipe could do any harm, and also note that clang builded by > GCC with exactly the same make.conf has no problems with world building :) I still cannot reproduce your issue... To check, I have built world with CPUTYPE=athlon-xp, verified it used "-O2 -pipe -march=athlon-xp" as compilation flags for the world stage, and installed the resulting clang executables. Those clang executables do not exhibit the same problem as yours do; they can build tblgen (during the bootstrap-tools stage) fine. I suggest you comment out the CPUTYPE macro in make.conf for now, rebuild your world with gcc, and then rebuild it with clang again, to see if the issue goes away.