Gentoo Archives: gentoo-dev

From: Nathan Phillip Brink <ohnobinki@××××××××××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] MULTI_ABI support addition to main tree portage
Date: Sat, 29 Jan 2011 18:11:07
Message-Id: 20110129181034.GP1713@ohnopublishing.net
In Reply to: Re: [gentoo-dev] MULTI_ABI support addition to main tree portage by Pacho Ramos
1 On Sat, Jan 29, 2011 at 06:03:10PM +0100, Pacho Ramos wrote:
2 >
3 > Hello
4 >
5 > I would like to know what is "blocking" this from landing main tree in
6 > the "near" future, as I reviewed:
7 >
8 > http://www.mail-archive.com/gentoo-dev@l.g.o/msg41737.html
9 >
10 > and looks like there wasn't major problems (at least commented in this
11 > thread)
12
13 There are still a number of known build failures, tracked in
14 https://bugs.gentoo.org/alias/portage-multilib . There are probably
15 many more portage-multilib-related build failures which haven't been
16 encountered yet nor reported. Also, even these reported bugs are not
17 necessarily fixed first because they only affect us the minority ;-).
18
19 Most everything is easy to debug and as simple as replacing calls to
20 $(LD) in poorly-written Makefileswith with calls to $(CC), fixing
21 packages which ignore CFLAGS (where we store our -m32) or LDFLAGS
22 (where we now also store -m32 since one's not allowed to require
23 buildsystems to call $(CC) with $(CFLAGS) when objects are being
24 linked into an executable or library).
25
26 However, packages which use qmake or cmake macros installed by KDE are
27 more difficult to debug and there are other funny issues such as
28 CFLAGS being stored by a library's buildsystem and stored into
29 /usr/share instead of an ABI-dependent directory, breaking packages
30 which use that library... ;-)
31
32 Also, there are still some decisions/changes to portage-multilib which
33 might be made The most recent idea discussed was: should ${ARCH}
34 useflags (like SRC_URI="x86? ( http://host/my-binari-x86.tar.bz2 )")
35 be replaced with ${ABI} useflags or should we rewrite a bunch of
36 ebuilds in the tree to be multilib-aware? For example:
37
38 Say we have
39 ABI=x86
40 ARCH=amd64
41
42 Does ``use x86'' return true or do we need to use ``use multilib_abi_x86''?
43 Do detect the true arch, do we need ``use arch_amd64'' or does ``use amd64'' still return true?
44
45 --
46 binki
47
48 Look out for missing apostrophes!

Replies