Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] crossdev and multilib interference
Date: Thu, 27 Mar 2014 06:52:41
Message-Id: 20140327075132.18977cf6@pomiot.lan
In Reply to: Re: [gentoo-dev] crossdev and multilib interference by Mike Frysinger
1 Dnia 2014-03-27, o godz. 02:13:52
2 Mike Frysinger <vapier@g.o> napisał(a):
3
4 > On Wed 26 Mar 2014 01:17:14 Mike Frysinger wrote:
5 > > (2) use tuples with loaded vendor fields to reduce the chance of collisions.
6 > > e.g. having an ABI=amd64 system use i686-gentoo%multilib-linux-gnu instead
7 > > of i686-pc-linux-gnu would defeat any automatic path searches.
8 >
9 > this patch keeps the status quo. although the status quo is broken, but we
10 > can sort that out independently.
11
12 Except that it breaks stuff that is installed at the point and comes
13 with no plan of cleaning up the resulting mess.
14
15 > --- profiles/arch/amd64/make.defaults 18 Jan 2014 01:03:24 -0000 1.21
16 > +++ profiles/arch/amd64/make.defaults 27 Mar 2014 06:13:22 -0000
17 > @@ -21,17 +21,17 @@ ABI="amd64"
18 > # 64bit specific settings.
19 > CFLAGS_amd64="-m64"
20 > LDFLAGS_amd64="-m elf_x86_64"
21 > -CHOST_amd64="x86_64-pc-linux-gnu"
22 > +CHOST_amd64="${CHOST}"
23 >
24 > # 32bit specific settings.
25 > CFLAGS_x86="-m32"
26 > LDFLAGS_x86="-m elf_i386"
27 > -CHOST_x86="i686-pc-linux-gnu"
28 > +CHOST_x86="i686-gentoo%multilib-linux-gnu"
29
30 Using percent sign here looks like asking for trouble at some point.
31 I don't see why you can't use plain 'gentoomultilib' that is more
32 fool-proof.
33
34 > # 64-32bit specific settings.
35 > CFLAGS_x32="-mx32"
36 > LDFLAGS_x32="-m elf32_x86_64"
37 > -CHOST_x32="x86_64-pc-linux-gnux32"
38 > +CHOST_x32="x86_64-gentoo%multilib-linux-gnux32"
39 >
40 > # 2006/10/24 - Simon Stelling <blubb@g.o>
41 > # They are masked, but we can enable them anyway for those who have
42
43
44
45 --
46 Best regards,
47 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] crossdev and multilib interference Mike Frysinger <vapier@g.o>