Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Some essential packages fail to compile
Date: Sat, 08 Sep 2012 12:37:12
Message-Id: CA+czFiAYDY3ZTiN7trMfBrXn4FKvfLaqsUpv7=CZB2+n=eONDQ@mail.gmail.com
In Reply to: [gentoo-user] Re: Some essential packages fail to compile by Nikos Chantziaras
1 On Sat, Sep 8, 2012 at 7:50 AM, Nikos Chantziaras <realnc@×××××.com> wrote:
2
3 > On 08/09/12 14:31, "Roland Häder" wrote:
4 >
5 >> I use distcc and two nodes are running 64 bit (this Gentoo is being
6 >> installed on 32 bit hardware). Most packages works fine with it, so
7 >> my guess is that some packages ignore the important gcc flags (-m32 /
8 >> -march=i686) which results in compiling a 64 bit object file on the
9 >> 64 bit nodes.
10 >>
11 >> The 64 bit nodes are Debian nodes which all can cross-compile (as I
12 >> mentioned above, some packages were cross-compiled on these nodes
13 >> without troubles because they honor the extra flags).
14 >>
15 >
16 > Isn't it a requirement that all nodes run Gentoo, with the same GCC
17 > version, and you must setup sys-devel/crossdev on each of them?
18 >
19 > I don't see how it could possibly work otherwise.
20 >
21
22 You need the same gcc version, but as long as distcc is including all of
23 the header and source files, same-arch distcc should work fine. I don't
24 know about cross-compiling, though.
25
26
27
28
29 --
30 :wq