Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 14:50:14 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mikhail Teterin <mi+mxe@aldan.algebra.com>
Cc:        ports@FreeBSD.org, gnome@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: While we discuss libtool (-fpic vs. -fPIC)
Message-ID:  <20060228195014.GA85269@xor.obsecurity.org>
In-Reply-To: <1141155894.20664.59.camel@mteterin.us.murex.com>
References:  <1141151381.20664.19.camel@mteterin.us.murex.com> <20060228192453.GA84695@xor.obsecurity.org> <1141155894.20664.59.camel@mteterin.us.murex.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 28, 2006 at 02:44:54PM -0500, Mikhail Teterin wrote:
> ? ??, 2006-02-28 ? 14:24 -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.

OK, that's wrong then, as above.

Kris

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBKl2Wry0BWjoQKURAmhxAJ9Qeoq0lEcT8H0IJEQVue134dSieACg4YS3
ZkG4KC1PwPAYKMChu98DZ3I=
=xTFU
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060228195014.GA85269>