1 |
Jon Portnoy wrote: [Wed Dec 10 2003, 04:08:51PM EST] |
2 |
> On Wed, Dec 10, 2003 at 03:59:46PM -0500, Aron Griffis wrote: |
3 |
> > Jon Portnoy wrote: [Wed Dec 10 2003, 12:47:15PM EST] |
4 |
> > > AMD64 has the same issue. A number of applications have been patched to |
5 |
> > > build properly (using -fPIC for libs). For example, look at the ncurses |
6 |
> > > ebuild: |
7 |
> > > |
8 |
> > > # Shared objects are compiled properly with -fPIC, but |
9 |
> > > # standard libs also require this. |
10 |
> > > if [ "${ARCH}" = "amd64" ] |
11 |
> > > then |
12 |
> > > append-flags -fPIC |
13 |
> > > fi |
14 |
> > |
15 |
> > Clearly we need a generic check for 64-bit. There are ebuilds |
16 |
> > throughout the tree that add -fPIC for some mix of amd64, alpha or ia64. |
17 |
> > Do we have something already that would suffice? |
18 |
> > |
19 |
> |
20 |
> A good idea, but I don't think we have anything currently. |
21 |
> |
22 |
> > Probably the best would be to abstract this into portage so that the |
23 |
> > implementation could change as needed. Ideas? |
24 |
> |
25 |
> Ideally we could come up with a good way to check in an eclass and just |
26 |
> call that eclass in ebuilds that need it. |
27 |
|
28 |
That would probably be best (at least for the near-term) since it would |
29 |
work instantly on all versions of portage out there. |
30 |
|
31 |
I'll write up the eclass and commit it. |
32 |
|
33 |
-- |
34 |
Aron Griffis |
35 |
Gentoo Linux Developer (alpha / ia64 / ruby / vim) |
36 |
Key fingerprint = E3B6 8734 C2D6 B5E5 AE76 FB3A 26B1 C5E3 2010 4EB0 |