cvs commit: ports/japanese/xdtp Makefile

David O'Brien obrien at FreeBSD.org
Mon Oct 24 00:39:13 PDT 2005


On Thu, Oct 20, 2005 at 10:06:39AM +0200, Volker Stolz wrote:
> On Wed, Oct 19, 2005 at 03:14:36PM -0400, Kris Kennaway wrote:
> > On Wed, Oct 19, 2005 at 07:12:52PM +0000, Emanuel Haupt wrote:
> > >   Modified files:
> > >     japanese/xdtp        Makefile 
> > >   Log:
> > >   . compile with -fPIC, this fixes build on amd64
> > 
> > Please don't pessimize all architectures like this.  You shouldn't
> > even be pessimizing all files on amd64 with this flag, only those that
> > need them.
> 
> Is this really such a strong pessimisation?

It is an issue.  As it adds an extra level of indirection when accessing
things.  Enought that some GCC people are looking at how to optimize GOT
usage for AMD64.
 
> http://www.ukuug.org/events/linux2002/papers/pdf/dsohowto.pdf
> "How To Write Shared Libraries" claims that this is almost a non-issue.

That paper is mostly written from a 32-bit point of view (x86).

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-ports mailing list