Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 00:39:04 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Cc:        cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, Emanuel Haupt <ehaupt@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: cvs commit: ports/japanese/xdtp Makefile
Message-ID:  <20051024073904.GA36026@dragon.NUXI.org>
In-Reply-To: <20051020080639.GB73991@i2.informatik.rwth-aachen.de>
References:  <200510191912.j9JJCruT013822@repoman.freebsd.org> <20051019191435.GA26002@xor.obsecurity.org> <20051020080639.GB73991@i2.informatik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



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