[gentoo-user] Re: Some essential packages fail to compile

2012-09-09 Thread Andrea Conti
If I fully follow that wiki page (I did until the wrapper script is added) I would have to change these links: lrwxrwxrwx 1 root root 16 Sep 6 21:35 c++ - ../../bin/distcc lrwxrwxrwx 1 root root 16 Sep 6 21:35 cc - ../../bin/distcc lrwxrwxrwx 1 root root 16 Sep 6 21:35 g++ -

[gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Nikos Chantziaras
On 08/09/12 14:31, Roland Häder wrote: I use distcc and two nodes are running 64 bit (this Gentoo is being installed on 32 bit hardware). Most packages works fine with it, so my guess is that some packages ignore the important gcc flags (-m32 / -march=i686) which results in compiling a 64 bit

Re: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Michael Mol
On Sat, Sep 8, 2012 at 7:50 AM, Nikos Chantziaras rea...@gmail.com wrote: On 08/09/12 14:31, Roland Häder wrote: I use distcc and two nodes are running 64 bit (this Gentoo is being installed on 32 bit hardware). Most packages works fine with it, so my guess is that some packages ignore the

Aw: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Roland Häder
Isn't it a requirement that all nodes run Gentoo, with the same GCC version, and you must setup sys-devel/crossdev on each of them? I don't see how it could possibly work otherwise. In my first email I wrote that all other nodes have Debian installed, not Gentoo.

Aw: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Roland Häder
Isn't it a requirement that all nodes run Gentoo, with the same GCC version, and you must setup sys-devel/crossdev on each of them? I don't see how it could possibly work otherwise. I see the same thing. The next text block I wrote that I have Debian 64 bits (aka AMD64) on all other

Re: Aw: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Andrea Conti
One way is (if you have read any 'environment' files in my tar archive) to set the guest architecture explitcitly in /etc/(portage/)make.conf which I did. /etc/make.conf: CFLAGS=-O2 -march=i686 -pipe -fPIC -m32 CXXFLAGS=${CFLAGS} CHOST=i486-pc-linux-gnu That is not setting the guest

[gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Andrea Conti
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml I also read it far before I wrote my email. In case I wasn't clear in my other email, what you should be paying attention to are the instructions under 'Configuring distcc to cross-compile correctly'. Of course, the instructions are

Aw: Re: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Roland Häder
CFLAGS=-O2 -march=i686 -pipe -fPIC -m32 CXXFLAGS=${CFLAGS} CHOST=i486-pc-linux-gnu I have reformated my disk because I missed a parameter (-d . or so) which would make it possible for dracut to use gpg key decryption. Now I have to reinstall all from scratch (including configuring kernel).

Aw: [gentoo-user] Re: Some essential packages fail to compile

2012-09-08 Thread Roland Häder
$ FEATURES=-distcc emerge klibc Thanks. :) Roland