Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alpha
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-ia64@g.o
From: Aron Griffis <agriffis@g.o>
Subject: Re: [gentoo-ia64] non-PIC code in shared libraries
Date: Wed, 10 Dec 2003 16:11:52 -0500
Jon Portnoy wrote:	[Wed Dec 10 2003, 04:08:51PM EST]
> On Wed, Dec 10, 2003 at 03:59:46PM -0500, Aron Griffis wrote:
> > Jon Portnoy wrote:	[Wed Dec 10 2003, 12:47:15PM EST]
> > > AMD64 has the same issue. A number of applications have been patched to 
> > > build properly (using -fPIC for libs). For example, look at the ncurses 
> > > ebuild:
> > > 
> > >         # Shared objects are compiled properly with -fPIC, but
> > >         # standard libs also require this.
> > >         if [ "${ARCH}" = "amd64" ]
> > >         then
> > >                         append-flags -fPIC
> > >         fi
> > 
> > Clearly we need a generic check for 64-bit.  There are ebuilds
> > throughout the tree that add -fPIC for some mix of amd64, alpha or ia64.
> > Do we have something already that would suffice?
> > 
> 
> A good idea, but I don't think we have anything currently.
> 
> > Probably the best would be to abstract this into portage so that the
> > implementation could change as needed.  Ideas?
> 
> Ideally we could come up with a good way to check in an eclass and just 
> call that eclass in ebuilds that need it.

That would probably be best (at least for the near-term) since it would
work instantly on all versions of portage out there.

I'll write up the eclass and commit it.

-- 
Aron Griffis
Gentoo Linux Developer (alpha / ia64 / ruby / vim)
Key fingerprint = E3B6 8734 C2D6 B5E5 AE76  FB3A 26B1 C5E3 2010 4EB0

Attachment:
pgpW7ZJJTacTO.pgp (PGP signature)
Replies:
Re: [gentoo-ia64] non-PIC code in shared libraries
-- Aron Griffis
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
grsec patch for 2.4.23 with XFS
Next by thread:
Re: [gentoo-ia64] non-PIC code in shared libraries
Previous by date:
Re: grsec patch for 2.4.23 with XFS
Next by date:
Re: grsec patch for 2.4.23 with XFS


Updated Jun 17, 2009

Summary: Archive of the gentoo-alpha mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.