Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 19:07:30 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        freebsd-stable@freebsd.org, Beeblebrox <zaphod@berentweb.com>
Subject:   Re: buildworld with clang breaks because no cc
Message-ID:  <20121124170730.GF98247@kib.kiev.ua>
In-Reply-To: <50B0C3D6.5070308@andric.com>
References:  <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50B0C3D6.5070308@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oOB74oR0WcNeq9Zb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 o=
ther
> > problem:
> >
> > =3D=3D=3D> 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 sh=
ared
> > object.
>=20
> 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.

--oOB74oR0WcNeq9Zb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJQsP7RAAoJEJDCuSvBvK1BCXUP+wcJjvIO4/PDj3FFb+0SO6H6
WjG2BxDMzPEmh3ydjOSxZv8XQS9I9UigpT9x0cldaNYYbAMFZfNJgRTeh+Sh0BMa
Oi3lrQXllf0ZOW63bsip7ylfhX6Stkloo0C+bViGI/63UBMm/8gqBRWeil+YW+KO
/dw+m7eye6FAs8EhBGDbiZLEv+WM9I5yay6EqNCLtKVq3WxluLCFdxXafZn6554w
M6xpw8v5ihf8ZnNdQsXT6vOfm52JpN+TE4Sb5oH0jleLlDm811JuYoTtrdDRSjBQ
D5Zdvc/BRIX7FMMiRTNdXobBnlWhdLBrEQ2d+XwfSDRoSHGAznfqKwyvg9aMb15y
ndm4+A3DXkMeNbGyUL/l6kIqVp9RO/kJioX1VyHNBmhhePCE7E06LTPhB29Ll+EP
uDHQsPEMussoEUlRijp67INcbutRLuLmTcs1ChAVWoorSgF6esMFZRglRUpAhmsF
A2gn/cyoJAn5Rlv0Ei6BfBk8UwSAiH2y052LluOLgj8r1Vly2mgHYv39NMtAI3i3
9x+ji/EWdg9lMc6ZhOEEsZ8Nlat+tD/W6V/k3WTzICukoLEQryc9dpg5YqCf7kSE
y6QVGSm3nfmvXiYzTEJiy4pCy6dR22lHnJpZEv5UbEawTg1WT357vT/ydrAZW3a/
cvsW4L9GPMF/WA3X/jXZ
=NkjH
-----END PGP SIGNATURE-----

--oOB74oR0WcNeq9Zb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121124170730.GF98247>