From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6500 invoked by uid 1002); 10 Dec 2003 15:11:53 -0600 Mailing-List: contact gentoo-alpha-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-alpha@gentoo.org Received: (qmail 29113 invoked from network); 10 Dec 2003 15:11:52 -0600 Date: Wed, 10 Dec 2003 16:11:52 -0500 From: Aron Griffis To: gentoo-ia64@gentoo.org Cc: gentoo-amd64@gentoo.org, gentoo-alpha@gentoo.org Message-ID: <20031210211152.GC10626@time> Mail-Followup-To: gentoo-ia64@gentoo.org, gentoo-amd64@gentoo.org, gentoo-alpha@gentoo.org References: <1429.129.94.176.249.1070941373.squirrel@secure.octopus.com.au> <20031210174715.GA23956@cerberus.oppresses.us> <20031210205946.GB10626@time> <20031210210851.GA30530@cerberus.oppresses.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <20031210210851.GA30530@cerberus.oppresses.us> User-Agent: Mutt/1.5.5.1i Subject: [gentoo-alpha] Re: [gentoo-ia64] non-PIC code in shared libraries X-Archives-Salt: b9b1cfb4-0306-467b-aa4b-71068339bd48 X-Archives-Hash: 8648da4311744ebc98ca407c7be48283 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jon Portnoy wrote: [Wed Dec 10 2003, 04:08:51PM EST] > On Wed, Dec 10, 2003 at 03:59:46PM -0500, Aron Griffis wrote: > > Jon Portnoy wrote: [Wed Dec 10 2003, 12:47:15PM EST] > > > AMD64 has the same issue. A number of applications have been patched = to=20 > > > build properly (using -fPIC for libs). For example, look at the ncurs= es=20 > > > ebuild: > > >=20 > > > # Shared objects are compiled properly with -fPIC, but > > > # standard libs also require this. > > > if [ "${ARCH}" =3D "amd64" ] > > > then > > > append-flags -fPIC > > > fi > >=20 > > Clearly we need a generic check for 64-bit. There are ebuilds > > throughout the tree that add -fPIC for some mix of amd64, alpha or ia64. > > Do we have something already that would suffice? > >=20 >=20 > A good idea, but I don't think we have anything currently. >=20 > > Probably the best would be to abstract this into portage so that the > > implementation could change as needed. Ideas? >=20 > Ideally we could come up with a good way to check in an eclass and just= =20 > call that eclass in ebuilds that need it. That would probably be best (at least for the near-term) since it would work instantly on all versions of portage out there. I'll write up the eclass and commit it. --=20 Aron Griffis Gentoo Linux Developer (alpha / ia64 / ruby / vim) Key fingerprint =3D E3B6 8734 C2D6 B5E5 AE76 FB3A 26B1 C5E3 2010 4EB0 --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/14wYJrHF4yAQTrARAuU9AKCzLHhsetW6wYi7xHh1iZzgBSdougCgy0c/ WIigtwx0LhHtZPeL2fw3iAY= =lo2q -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--