Re: Clang now builds world and kernel, on i386 and amd64

From: Bartosz Stec <admin_at_kkip.pl>
Date: Fri, 24 Sep 2010 14:13:11 +0200
  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
Received on Fri Sep 24 2010 - 10:13:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC