Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2011 17:04:23 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "datastream datastream.freecity" <datastream.freecity@gmail.com>
Cc:        Olivier Smedts <olivier@gid0.org>, freebsd-current@freebsd.org
Subject:   Re: Can't buildworld since Clang update
Message-ID:  <4D653007.9080103@FreeBSD.org>
In-Reply-To: <AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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?4D653007.9080103>