From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 28 20:11:26 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B52216A420; Tue, 28 Feb 2006 20:11:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F42243D46; Tue, 28 Feb 2006 20:11:25 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 806C41A3C24; Tue, 28 Feb 2006 12:11:25 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D463953664; Tue, 28 Feb 2006 15:11:24 -0500 (EST) Date: Tue, 28 Feb 2006 15:11:24 -0500 From: Kris Kennaway To: Mikhail Teterin Message-ID: <20060228201124.GA85491@xor.obsecurity.org> References: <1141151381.20664.19.camel@mteterin.us.murex.com> <20060228192453.GA84695@xor.obsecurity.org> <1141155894.20664.59.camel@mteterin.us.murex.com> <20060228195014.GA85269@xor.obsecurity.org> <1141156556.20664.66.camel@mteterin.us.murex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <1141156556.20664.66.camel@mteterin.us.murex.com> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org, gnome@FreeBSD.org, Kris Kennaway Subject: Re: While we discuss libtool (-fpic vs. -fPIC) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 20:11:26 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 28, 2006 at 02:55:56PM -0500, Mikhail Teterin wrote: > ? ??, 2006-02-28 ? 14:50 -0500, Kris Kennaway ????: > > > > Not sure what you're requesting precisely, but -fPIC and not -fpic > > is > > > > correct on amd64 and ia64. > > >=20 > > > I'm requesting, libtool is changed to use `-fpic' instead of `-fPIC' > > > on all arches except sparc64. This is more efficient, and is what > > > bsd.lib.mk does: > > >=20 > > > .if !defined(PICFLAG) > > > .if ${MACHINE_ARCH} =3D=3D "sparc64" > > > PICFLAG=3D-fPIC > > > .else > > > PICFLAG=3D-fpic > > > .endif > > > .endif > > >=20 > > > The performance difference is slight, and is not worth chasing every > > > shared-library building port. But if we can improve hundreds of > > > ports at once by correcting libtool, we certainly should. > >=20 > > OK, that's wrong then, as above. >=20 > What is "wrong" and which part of the "above" are you referring to? Where I said "-fPIC and not -fpic is correct on amd64 and ia64." On i386 they are equivalent. In fact now I'm not sure they're not equivalent on amd64 and ia64 too (in which case the current situation is still fine). Kris --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEBK5sWry0BWjoQKURAtLEAKDKP6tLpgXGolH5Nz93560jmZEPPACg6Vc6 iQQ81oGKx3C+NT49yooVcmU= =zbce -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--