Gentoo Archives: gentoo-amd64

From: Simon Stelling <blubb@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: emerge sandbox is using the wrong host id
Date: Tue, 26 Sep 2006 12:31:42
Message-Id: 45191D3B.2000807@gentoo.org
In Reply to: [gentoo-amd64] Re: emerge sandbox is using the wrong host id by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 >> Note the "--host=i686-pc-linux-gnu". I think that's wrong: it should
3 >> say "--host=x86_64-pc-linux-gnu", no? Continuing the log extract:
4 >
5 > No, that's correct in this case. I see your problem now. While most
6 > packages you install are 64-bit only and work, sandbox has both 32-bit and
7 > 64-bit components -- libraries that enforce sandbox restrictions in both
8 > 32-bit and 64-bit mode. What's happening is that your 64-bit gcc is
9 > working, but somewhere along the way, you lost a working 32-bit compiler.
10 > With it horked, you can't compile any 32-bit stuff, including the 32-bit
11 > part of sandbox. However, since most of the system is 64-bit and that's
12 > working, you can compile most packages just fine.
13
14 Good guess, but actually not true. It should be x86_64-pc-linux-gnu and
15 use the -m32 flag to produce 32bit code. This is just eselect-compiler
16 being broken. i686-pc-linux-gnu is installed by eselect-compiler. :)
17
18 --
19 Kind Regards,
20
21 Simon Stelling
22 Gentoo/AMD64 developer
23 --
24 gentoo-amd64@g.o mailing list