buildworld with clang breaks because no cc

Konstantin Belousov kostikbel at gmail.com
Sat Nov 24 17:07:38 UTC 2012


On Sat, Nov 24, 2012 at 01:55:50PM +0100, Dimitry Andric wrote:
> 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?
There are two usual causes for this error:
1. missed -fPIC when compiling some .c file
2. wrong assembler which uses non-pic safe relocations.

I very much doubt that #2 is the cause.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20121124/198d7ec8/attachment.sig>


More information about the freebsd-stable mailing list