Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] revdep-rebuild
Date: Mon, 15 Aug 2005 20:31:20
Message-Id: 200508151628.55318.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] revdep-rebuild by Stefan Jones
1 On Monday 15 August 2005 04:19 pm, Stefan Jones wrote:
2 > On Mon, 2005-08-15 at 15:57 -0400, Mike Frysinger wrote:
3 > > > But first I have an idea to only use scanelf (but that may have issues
4 > > > with 32/64 combined userspaces) which I would want to implement.
5 > >
6 > > no, it doesnt ... scanelf can handle any ELF format regardless of
7 > > endian/bitsize of the host or target or any combo thereof
8 > >
9 > > you can scan 32bit MSB ARM ELF's from a host 64bit LSB X86_64 host just
10 > > as easily as say from a 32bit MSB PARISC host
11 >
12 > Sorry, was not clear enough, a 32bit library cannot resolve a 64bit
13 > dependency. So when you read in the available libraries and there
14 > dependencies you need to keep track of which type they are.
15
16 i debated adding a flag for that once and ended up with a 'not now, but maybe
17 someday'
18
19 > Anyway, the -i flag to scanelf fixes that and other issues, just group
20 > all the data from scanelf by interpreter (so have multiple hashes, one
21 > for each interp).
22
23 yeah, that might be a better idea anyways ... after all, we dont want to limit
24 our concept of different co-existing ABI's to just 32bit/64bit
25
26 also, you may want to use -F to control the output rather relying on the
27 default output order
28 -mike
29 --
30 gentoo-dev@g.o mailing list