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 <d...@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?
>
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to