From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13797 invoked from network); 22 Nov 2004 04:21:39 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 22 Nov 2004 04:21:39 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CW5hr-00032K-Gb for arch-gentoo-dev@lists.gentoo.org; Mon, 22 Nov 2004 04:21:39 +0000 Received: (qmail 5838 invoked by uid 89); 22 Nov 2004 04:21:38 +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 17103 invoked from network); 22 Nov 2004 04:21:38 +0000 From: Luke-Jr To: gentoo-dev@lists.gentoo.org Date: Mon, 22 Nov 2004 04:22:05 +0000 User-Agent: KMail/1.7.1 References: <20041118194529.3ff36a8a@snowdrop.home> <419D1B17.7060202@gentoo.org> In-Reply-To: IM-Address: luke-jr@jabber.org Public-GPG-Key-URI: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0xD53E9583 Public-GPG-Key: 0xD53E9583 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411220422.05934.luke-jr@utopios.org> Subject: Re: [gentoo-dev] Re: Common make.conf screwups? X-Archives-Salt: 61abad94-6f2d-44ea-9a26-9b58bc14878e X-Archives-Hash: 3b09ffe9b4f8cc58e0bb526bade68af1 On Saturday 20 November 2004 8:17 am, 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. As robmoss pointed out, -fPIC is good only for shared stuff. Shared things will break on x86_64 if they don't have -fPIC, but that's not a x86_64-specific issue. x86 may not have visible problems with the lack of it, but it is still an issue and the arch simply works around it (with some inefficiency effects) I don't think any of this is new info... I recall such a discussion a while back explaining about -fPIC... -- Luke-Jr Developer, Utopios http://utopios.org/ -- gentoo-dev@gentoo.org mailing list