1 |
On 26 Jan 2016 21:48, Alex McWhirter wrote: |
2 |
> On 01/26/2016 09:08 PM, Mike Frysinger wrote: |
3 |
> > On 26 Jan 2016 19:23, Alex McWhirter wrote: |
4 |
> >> On 01/26/2016 07:20 PM, Mike Frysinger wrote: |
5 |
> >>> On 26 Jan 2016 18:30, Alex McWhirter wrote: |
6 |
> >>>> If using symlink_lib=no, shoud 32bit libraries be placed in lib32 or |
7 |
> >>>> lib? If we use lib32 we need to modify the base layout to compensate for |
8 |
> >>>> this. |
9 |
> >>> |
10 |
> >>> there should be no lib32 under sparc. /usr/lib/ holds 32-bit libs |
11 |
> >>> just like a 32-bit install, and /usr/lib64/ holds 64-bit libs. |
12 |
> >> |
13 |
> >> The sparc multilib profile overrides this and uses lib32 with a symlink. |
14 |
> >> But using lib is probably a better option as it seems like the way |
15 |
> >> everything else works. |
16 |
> > |
17 |
> > right ... this is part of the "we don't want SYMLINK_LIB=yes" logic. |
18 |
> > this is probably all you need to start with: |
19 |
> > --- a/profiles/default/linux/sparc/experimental/multilib/parent |
20 |
> > +++ b/profiles/default/linux/sparc/experimental/multilib/parent |
21 |
> > @@ -1,3 +1,3 @@ |
22 |
> > .. |
23 |
> > ../../../../../releases/13.0 |
24 |
> > -../../../../../features/multilib/lib32 |
25 |
> > +../../../../../features/multilib |
26 |
> |
27 |
> If the goal is to abandon the symlink, why did we decide to use it in |
28 |
> the first place? It seems like only amd64 does this, however it is the |
29 |
> default behavior from the multilib feature. Has this just been carried |
30 |
> over from the old rudimentary multilib support before the current |
31 |
> multilib functionality was finalized? |
32 |
|
33 |
yes, it's legacy cruft that we haven't been able to migrate away from |
34 |
yet. we were able to drop it on other arches because their multilib |
35 |
users were largely non-existent, but amd64 has always had an extensive |
36 |
user base. if we can figure out how to migrate them, we will at some |
37 |
point. see: |
38 |
https://bugs.gentoo.org/506276 |
39 |
|
40 |
since sparc's multilib userbase does not exist, we have time to fix |
41 |
that mistake. so if that diff above works for you, i'll just push it. |
42 |
-mike |