From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 17:07:38 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A78FBCDD for ; Sat, 24 Nov 2012 17:07:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB788FC08 for ; Sat, 24 Nov 2012 17:07:37 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qAOH7UQ4069677; Sat, 24 Nov 2012 19:07:30 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.1 kib.kiev.ua qAOH7UQ4069677 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qAOH7Uf9069676; Sat, 24 Nov 2012 19:07:30 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Nov 2012 19:07:30 +0200 From: Konstantin Belousov To: Dimitry Andric Subject: Re: buildworld with clang breaks because no cc Message-ID: <20121124170730.GF98247@kib.kiev.ua> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oOB74oR0WcNeq9Zb" Content-Disposition: inline In-Reply-To: <50B0C3D6.5070308@andric.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-stable@freebsd.org, Beeblebrox X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 17:07:38 -0000 --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--