Can't buildworld since Clang update
datastream datastream.freecity
datastream.freecity at gmail.com
Wed Feb 23 13:22:38 UTC 2011
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?
>
More information about the freebsd-current
mailing list