Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2011 15:26:54 +0800
From:      "datastream datastream.freecity" <datastream.freecity@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Olivier Smedts <olivier@gid0.org>, freebsd-current@freebsd.org
Subject:   Re: Can't buildworld since Clang update
Message-ID:  <AANLkTinB9Vcm4-8pqormX6f3jFwuMRZ7S7yxWA3Gizno@mail.gmail.com>
In-Reply-To: <4D653007.9080103@FreeBSD.org>
References:  <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com> <4D627FBE.1070700@FreeBSD.org> <AANLkTin3KAOzY3PFcVzMdRaawvf2JD1ogh2-j_dJrR6m@mail.gmail.com> <4D63D28B.4080900@FreeBSD.org> <AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4@mail.gmail.com> <4D653007.9080103@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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?
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinB9Vcm4-8pqormX6f3jFwuMRZ7S7yxWA3Gizno>