Re: Can't buildworld since Clang update

From: datastream datastream.freecity <datastream.freecity_at_gmail.com>
Date: Thu, 24 Feb 2011 15:26:54 +0800
I removed /etc/src.conf.binutils is 2.15.
#svn info /usr/src
Path: /usr/src
URL: http://svn.freebsd.org/base/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 218985
Node Kind: directory
Schedule: normal
Last Changed Author: brucec
Last Changed Rev: 218985
Last Changed Date: 2011-02-24 05:45:28 +0800 (Thu, 24 Feb 2011)

#cat /etc/make.conf
.if ${.CURDIR:N*usr/src*}==""
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
NO_WERROR=
WERROR=
.endif

#printenv
TERM=xterm
FTP_PASSIVE_MODE=YES
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/afs/bin:/root/bin:/usr/local/texlive/2007/bin/i386-freebsd:/usr/local/kde4/bin
SHELL=/bin/csh
HOME=/root
USER=root
HOSTTYPE=FreeBSD
VENDOR=unknown
OSTYPE=FreeBSD
MACHTYPE=unknown
SHLVL=1
PWD=/root
LOGNAME=root
GROUP=wheel
HOST=datastream-laptop.people.163.org
REMOTEHOST=
LSCOLORS=ExGxFxdxCxegedabagExEx
CLICOLOR=yes
MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/lib/perl5/5.8.8/man:/usr/local/lib/perl5/5.8.8/perl/man:/usr/local/texlive/2007/texmf/doc/man
EDITOR=ee
PAGER=less
#clang -v
FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007
Target: x86_64-undermydesk-freebsd9.0
Thread model: posix

On Thu, Feb 24, 2011 at 12:04 AM, Dimitry Andric <dim_at_freebsd.org> wrote:

> On 2011-02-23 14:22, datastream datastream.freecity wrote:
>
>> I deleted all files in /usr/src and /usr/obj. it changes nothing, i still
>> get same error.
>>
>> In /etc/make.conf:
>> .if !defined(CC) || ${CC} == "cc"
>> CC=clang
>> .endif
>> .if !defined(CXX) || ${CXX} == "c++"
>> CXX=clang++
>> .endif
>> # Don't die on warnings
>> NO_WERROR=
>> WERROR=
>> STRIP=
>> CFLAGS+=-fno-omit-frame-pointer
>>
>
> I just did a full buildworld and buildkernel with exactly these settings
> (deleted src.conf), and it worked fine.  Is there any more information
> you can supply?  E.g. which exact revision of the tree are you trying to
> build, which version of clang are you using, version of binutils, or any
> other non-default environment settings?
>
Received on Thu Feb 24 2011 - 06:26:56 UTC

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