Gentoo Archives: gentoo-alt

From: Ruud Koolen <redlizard@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] AIX-specific early stage3 dependencies
Date: Mon, 28 Apr 2014 15:15:33
Message-Id: 201404281715.26444.redlizard@gentoo.org
In Reply to: Re: [gentoo-alt] AIX-specific early stage3 dependencies by Michael Haubenwallner
1 On Monday 28 April 2014 17:10:15 Michael Haubenwallner wrote:
2 > On 04/28/2014 04:33 PM, Ruud Koolen wrote:
3 > > On Monday 28 April 2014 10:30:58 Michael Haubenwallner wrote:
4 > >> IIRC, aixdll is needed by portage itself for these tasks:
5 > >> *) extract the binary dependencies for preserve-libs feature
6 > >> *) merge library archives containing shared objects - even with
7 > >> "aix-soname".
8 > >
9 > > Then I think it needs to be installed before gcc which builds aix-soname
10 > > libraries, but not necessarily any earlier than that.
11 >
12 > It should be fine to have it installed somewhere before the final 'emerge
13 > -e' actually, as this will recreate the NEEDED.XCOFF file anyway.
14
15 Then we can remove it early on, it will be pulled in when emerging portage.
16
17 > >>> If I understand correctly, dev-libs/libiconv is a dependency for a lot
18 > >>> of programs, including gcc, and as such needs to be installed before
19 > >>> gcc. This is clear. Are there any other packages in the early bootstrap
20 > >>> that depend on it? Could it be installed immediately before gcc? I see
21 > >>> that it was recently moved from immediately before gcc, to one of the
22 > >>> first things in stage3. Why is this? What hell are you avoiding this
23 > >>> way that I should retain?
24 > >>
25 > >> Okay, you've asked: The "hell with shared libiconv.a" is this one:
26 > >>
27 > >> [snip]
28 > >
29 > > Hellish indeed.
30 > >
31 > > libiconv used to be built immediately before gcc, but recently you moved
32 > > it to very early stage3. Why is that? As far as I can see, gcc is the
33 > > earliest stage3 package that uses iconv. Or is there a hidden dependency
34 > > somewhere? Evidently you changed it in response to a bug, but I don't see
35 > > it.
36 >
37 > Looking again now I remember it has been app-shells/bash I need libiconv
38 > for. Otherways, as soon as libiconv is emerged, the bash binary is broken.
39 >
40 > /haubi/
41
42 Interesting. I'll have a look at what's using it and why, then, and make sure
43 to build it really early indeed.
44
45 -- Ruud