From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 12:13:20 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 3980B1065670; Fri, 24 Sep 2010 12:13:20 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id A22378FC1B; Fri, 24 Sep 2010 12:13:19 +0000 (UTC) Received: from mb01.admin.lan.kkip.pl ([10.66.3.0]) by mainframe.kkip.pl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Oz79K-000F2b-IY; Fri, 24 Sep 2010 14:13:17 +0200 Message-ID: <4C9C95D7.40600@kkip.pl> Date: Fri, 24 Sep 2010 14:13:11 +0200 From: Bartosz Stec User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Dimitry Andric 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> In-Reply-To: <4C9C8FD9.1030305@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: admin@kkip.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.1 X-Spam-Score-Int: -80 X-Exim-Version: 4.72 (build at 10-Jun-2010 13:05:33) X-Date: 2010-09-24 14:13:17 X-Connected-IP: 10.66.3.0:3362 X-Message-Linecount: 54 X-Body-Linecount: 39 X-Message-Size: 2278 X-Body-Size: 1239 X-Received-Count: 1 X-Recipient-Count: 4 X-Local-Recipient-Count: 4 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 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 12:13:20 -0000 W dniu 2010-09-24 13:47, Dimitry Andric pisze: > On 2010-09-24 13:24, Bartosz Stec wrote: >> make.conf (note that NOCCACHE was defined in environment during all >> builds so ccache wasn't used): >> >> CPUTYPE=athlon-xp >> >> # default build settings for ports collection >> .if ${.CURDIR:M*/ports/*}&& !defined(NOCCACHE) >> CFLAGS=-O2 -pipe >> .endif >> >> # default build settings for base system >> .if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*} >> >> CFLAGS=-O2 -pipe >> COPTFLAGS=-O2 -pipe >> >> .if !defined(NOCCACHE) >> CC:=${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1} >> CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1} >> .endif >> .endif >> >> # added by use.perl 2010-08-10 10:21:21 >> PERL_VERSION=5.10.1 > > 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 :) -- Bartosz Stec