Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 15:31:28 -0500
From:      Mikhail Teterin <mi+mxe@aldan.algebra.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.org, gnome@FreeBSD.org, obrien@FreeBSD.org
Subject:   Re: While we discuss libtool (-fpic vs. -fPIC)
Message-ID:  <1141158688.20664.82.camel@mteterin.us.murex.com>
In-Reply-To: <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> <20060228201124.GA85491@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=F5 =D7=D4, 2006-02-28 =D5 15:11 -0500, Kris Kennaway =D0=C9=DB=C5:
> 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).

I don't think, they are equivalent. The lower-case variant is slightly
more efficient. It can not be used on sparc64, except for shared
libraries with very few symbols, but it is fine on other arches.

Here is a related thread at a PGSQL mailing list:

http://groups.google.com/group/pgsql.hackers/browse_thread/thread/4948c99d9=
80ee2bd/9781cee632f281bc?lnk=3Dst

David, in 2002 you changed bsd.lib.mk to use "fPIC" on sparc64, but left
it at "fpic" for other arches. Can you comment on the differences,
please? Thanks!

	-mi



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