I tried to use a x86 pc to aid the compiling of packages for amd64 via distcc. I followed the official "DistCC Cross-compiling Guide" [1] but I had no luck. Is it possible at all, am I doing something wrong or there is a bug?
[1] http://www.gentoo.org/doc/en/cross-compiling-distcc.xml The i686 pc gives: localhost ~ # crossdev -t x86_64-pc-linux-gnu * You need to set PORTDIR_OVERLAY in your make.conf. * A standard setting is /usr/local/portage localhost ~ # echo PORTDIR_OVERLAY=/usr/local/portage >> /etc/make.conf localhost ~ # crossdev -t x86_64-pc-linux-gnu !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage' !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage' localhost ~ # mkdir /usr/local/portage localhost ~ # crossdev -t x86_64-pc-linux-gnu -------------------------------------------------------------------------------- * Host Portage ARCH: x86 * Target Portage ARCH: amd64 * Target System: x86_64-pc-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/x86_64-pc-linux-gnu * PORTAGE_TMPDIR: /tmp/cross/x86_64-pc-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of binutils-config/gcc-config ... [ ok ] * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log * Emerging cross-binutils ... * binutils failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-x86_64-pc-linux-gnu-info.log * /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log -- Best regards, Daniel -- [email protected] mailing list
