Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44889 - crossdev 0.4-r1 bug
Summary: crossdev 0.4-r1 bug
Status: RESOLVED DUPLICATE of bug 49762
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 13:14 UTC by Evert
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for crossdev-0.4-r1 (crossdev-0.4-r1.patch,357 bytes, patch)
2004-03-16 13:18 UTC, Evert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evert 2004-03-16 13:14:43 UTC
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"
Comment 1 Evert 2004-03-16 13:18:50 UTC
Created attachment 27495 [details, diff]
patch for crossdev-0.4-r1

See above
Comment 2 Joshua Kinard gentoo-dev 2004-07-01 00:47:06 UTC

*** This bug has been marked as a duplicate of 49762 ***