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

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 24 Sep 2010 16:34:42 +0200
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.
Received on Fri Sep 24 2010 - 12:34:39 UTC

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