Re: Can't buildworld since Clang update

From: datastream datastream.freecity <datastream.freecity_at_gmail.com>
Date: Wed, 23 Feb 2011 21:22:34 +0800
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_at_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?
>
Received on Wed Feb 23 2011 - 12:22:38 UTC

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