Re: buildworld with clang breaks because no cc
On 2012-11-23 15:14, Beeblebrox wrote:
> Thanks for the suggestion. Build progressed a little further then had other
> problem:
>
> ===> gnu/lib/libstdc++ (all)
> building shared library libstdc++.so.6
> /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared
> object.
I am not sure what causes this. Maybe strange CFLAGS in make.conf? Or
is this still with ccache?
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** [libstdc++.so.6] Error code 1
> Stop in /asp/src/gnu/lib/libstdc++.
> *** [all] Error code 1
> Stop in /asp/src/gnu/lib.
> *** [gnu/lib__L] Error code 1
>
> Why is it building gcc4.2 ??
This is not gcc, it is libstdc++. Currently, there is no way to disable
it, as many applications will still use it. After libc++ has matured
enough, it can probably be moved to a compat port, but that will
certainly not happen in the 9.x series. :)
> Should I not be using WITH_CLANG_IS_CC= yes ?
> Bummer...
This setting should work just fine.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 22 之 25 篇):