sys-devel/crossdev-0.4-r1 fails to build amd64 toolchain. The process fails at stage 4 with the follow error message. * >>> --------------------------------------------------------------------------- * >>> Stage 4: Configure, Build, & Install gcc-bootstrap * >>> --------------------------------------------------------------------------- * Configuring sys-devel/gcc-3.4.3-r1 (bootstrap)... creating cache ./config.cache checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-unknown-linux-gnu checking for a BSD compatible install... /bin/install -c *** This configuration is not supported in the following subdirectories: target-libstdc++-v3 target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) *** --with-headers is only supported when cross compiling * InstallGccBootstrap(): Failed to configure! Reproducible: Always Steps to Reproduce: 1. emerge crossdev 2. crossdev --arch=amd64 -u Actual Results: failure. Expected Results: a toolchain to be created and installed Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+ Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O3 -march=k8" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt encode esd f77 fam flac fortran gif gpm gtk gtk2 imlib ipv6 java jp2 jpeg lzw lzw-tiff mozilla multilib ncurses network nls oggvorbis opengl oss pam perl png python readline samba speex sqlite ssl tcpd theora tiff truetype usb userlocales xml xml2 xmms xpm xrandr xv zlib"
I'm confused. It looks like you are running amd64 and trying to build the cross compiler where the target arch is amd64. what is the host arch and target arch you're trying to do? also, take a look at crossdev --status, it'll show what combonations are known to work(or not)
Yes I am indeed running amd64 and trying to get crossdev to create an amd64 toolchain. Why you ask? I did this in protest since crossdev has been broken for SO long. The poor state of crossdev/gcc/glibc/binutils has gotten so bad that it can't even build an amd64 toolchain on amd64! I implore you ladies and gentleman either mask crossdev or conjure some magical diffs to fix it.