Gentoo Archives: gentoo-project

From: Steve Long <slong@××××××××××××××××××.uk>
To: gentoo-project@l.g.o
Subject: [gentoo-project] Re: ABI deps and DEPEND labelling
Date: Thu, 21 Aug 2008 15:58:00
Message-Id: g8k39a$qje$1@ger.gmane.org
In Reply to: Re: [gentoo-project] ABI deps and DEPEND labelling by Ciaran McCreesh
1 Ciaran McCreesh wrote:
2
3 > On Tue, 19 Aug 2008 21:35:35 +0100
4 > Steve Long <slong@××××××××××××××××××.uk> wrote:
5 >> Posting to project as I think this stuff needs input from users as
6 >> well as devs. (Many users have a lot of experience with embedded dev
7 >> and ABI quirks.)
8 >> Flameeyes posted here about ABI deps:
9 >>
10 http://blog.flameeyes.eu/articles/2008/08/18/same-abi-and-any-abi-dependencies
11 >> ..which reminded me a lot of:
12 >> http://bugs.gentoo.org/show_bug.cgi?id=201499
13 >>
14 >> Not really fussed about how it's resolved, so long as we get some
15 >> sort of correct link dependency information (which compile-against is
16 >> not.) OFC that probably means we'll never get correct LDEPENDs but
17 >> such is life ;)
18 >>
19 >> What do others reckon about resolving ABI stuff, especially for
20 >> cross-dev and multi-lib/testing?
21 >
22 > You might find http://kloeri.livejournal.com/6771.html useful too.
23 >
24 Actually I found it depressing; you'll be wanting credit for readelf next..
25
26 http://git.exherbo.org/?p=exherbo.git;a=tree;f=scratch/multilib was a more
27 useful link, from which I got this:
28
29 * econf now looks in ${S} for a configure script, as well as . and
30 ${ECONF_SOURCE}.
31 * extra variables: ABI_CLASSES="C python ruby", for example, and C_ABIS,
32 python_ABIS, ruby_ABIS. Also C_ABI, python_ABI, ruby_ABI for primary ABI
33 in
34 each class.
35 * additional functions: switch_abi_env, get_abi_var, with_all_abis
36
37 I recommend Gentoo people look at the notes file in the above dir.
38
39 One thing that puzzles me is I never see .so versioning mentioned, eg
40 libc.so.5 vs .6 linking to latest providing specified ABI.

Replies

Subject Author
Re: [gentoo-project] Re: ABI deps and DEPEND labelling Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>