* [gentoo-alpha] Re: [gentoo-ia64] non-PIC code in shared libraries
[not found] ` <20031210210851.GA30530@cerberus.oppresses.us>
@ 2003-12-10 21:11 ` Aron Griffis
2003-12-11 0:01 ` Aron Griffis
0 siblings, 1 reply; 2+ messages in thread
From: Aron Griffis @ 2003-12-10 21:11 UTC (permalink / raw
To: gentoo-ia64; +Cc: gentoo-amd64, gentoo-alpha
[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread