Date: Wed, 23 Feb 2011 21:22:34 +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: <AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4@mail.gmail.com> In-Reply-To: <4D63D28B.4080900@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
On Tue, Feb 22, 2011 at 11:13 PM, Dimitry Andric <dim@freebsd.org> wrote:
> On 2011-02-22 15:37, datastream datastream.freecity wrote:
>
>> I add '-no-integrated-as' in /etc/make.conf,but I still failed.
>>
>
> Don't do that. The few instances where the integrated assembler needs
> to be disabled are already covered.
>
>
> ...
>
> /usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to
>> `_rtld_get_stack_prot'
>>
>
> Something seems to be seriously wrong in your tree. Can you try to blow
> away /usr/obj entirely, remove the -no-integrated-as flag from
> make.conf, and try again?
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4>
