The most basic form of crossdev does not work. It seems the most basic form of the command is untested. The reason is CROSS_KEYW_TMP keeps uninitialized. I will attach a patch which fixes this. After this patch is applied the next command builds a full toolchain for alpha: crossdev.sh --arch=alpha --vgcc=3.3.2-r2 However, when omitting the --vgcc option, gcc-3.3.2-r5 will be used which fails to bootstrap: make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/big/portage_tmp/portage/crossdevbuild/gcc-3.3.2/buildboothere-alpha/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/big/portage_tmp/portage/crossdevbuild/gcc-3.3.2/buildboothere-alpha/gcc' make: *** [all-gcc] Error 2 * InstallGccBootstrap(): Failed to compile! Reproducible: Always Steps to Reproduce: 1. emerge crossdev 2. rm -rf $(portageq envvar PORTAGE_TMPDIR)/portage/* 3. rm -rf /home/crossdev/alpha 4. crossdev.sh --arch=alpha --pretend Actual Results: * No valid binutils packages were found. If you're using unstable packages, then this means that no binutils packages were found with unstable keywords. Mark a package as unstable, or use stable packages. Expected Results: * >>> -------------------------------------------------------------------------------------------- * >>> i686-pc-linux-gnu -> alpha-unknown-linux-gnu cross-compile toolchain complete! * >>> Toolchain was installed in /home/crossdev/alpha * >>> To make use of the newly installed toolchain, append /home/crossdev/alpha/bin to the end of your $PATH. * >>> -------------------------------------------------------------------------------------------- Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 AMD Athlon(tm) XP 2600+ distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CXXFLAGS="-O2 -march=athlon-xp -pipe" FEATURES="autoaddcvs ccache sandbox" MAKEOPTS="-j2" PORTAGE_TMPDIR="/big/portage_tmp" USE="X apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby sdl slang ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 27495 [details, diff] patch for crossdev-0.4-r1 See above
*** This bug has been marked as a duplicate of 49762 ***