From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7224 invoked from network); 21 Nov 2004 21:10:05 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 21 Nov 2004 21:10:05 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CVyyD-0003AX-FK for arch-gentoo-dev@lists.gentoo.org; Sun, 21 Nov 2004 21:10:05 +0000 Received: (qmail 1552 invoked by uid 89); 21 Nov 2004 21:10:04 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 1434 invoked from network); 21 Nov 2004 21:10:04 +0000 Message-ID: <41A10443.2070108@gentoo.org> Date: Sun, 21 Nov 2004 21:10:27 +0000 From: Robert Moss User-Agent: Mozilla Thunderbird 0.9 (X11/20041118) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org References: <20041118194529.3ff36a8a@snowdrop.home> <419D074E.6010802@gentoo.org> <20041118204021.5f562eb0@snowdrop.home> <419D1B17.7060202@gentoo.org> In-Reply-To: X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAAD309133EE5864F9A10A93E" Subject: Re: [gentoo-dev] Re: Common make.conf screwups? X-Archives-Salt: 6c1c6b8f-2686-4e3f-93e1-368ed8c28fbb X-Archives-Hash: c134ee8450035565d4775252141a0f1d --------------enigAAD309133EE5864F9A10A93E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit No, this is wrong. On amd64, you should *not* use -fPIC in make.conf. That's been policy since 2004.0. It is required that -fPIC is used for shared things (such as shared libraries) and it is required that -fPIC is not used for non-shared things (such as binaries). Thus, it must not be set in make.conf, otherwise you break this. If something does not compile without using -fPIC in CFLAGS, then that is a bug. Hardened is different, however. Duncan wrote: > No, not all archs follow x86 (or whatever arch rules you are assuming) > rules. On some archs (amd64 comes to mind as that's what I use), -fPIC is > required. Gentoo amd64 officially discourages it in make.conf, so as to > hilite ebuilds which do NOT set it so they can be patched to do so, but > it's required on the arch, regardless, whether it's configured in the > source, in the ebuild, or in make.conf, so on some archs anyway, it's NOT > wrong to have it in make.conf, hardened or not. > --------------enigAAD309133EE5864F9A10A93E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iEYEARECAAYFAkGhBEUACgkQq/c/2ZoPH0RVQgCfdsoXM5lAsEhXmF8xQXQu3Apx bZsAoI5R7/Me3L1zIRSqfaRJ3Y7jR4iN =jT7D -----END PGP SIGNATURE----- --------------enigAAD309133EE5864F9A10A93E--