Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58868 - crossdev: Laborious success to get toolchains for ppc, mips and arm on x86
Summary: crossdev: Laborious success to get toolchains for ppc, mips and arm on x86
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Joshua Kinard
Depends on:
Reported: 2004-07-30 01:51 UTC by Jocelyn Mayer
Modified: 2005-03-03 17:36 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Mayer 2004-07-30 01:51:24 UTC
I've been able to install toochains for ppc mips and arm on x86,
but it's been a real pain to get it.
First, I needed to hack crossdev to set CROSSDEV_HOME to /opt/crossdev because my /home directory is managed by automount. It would be great to be able to give this as a parameter to crossdev.
Then, I had to make a lot of tries to find the right kernel headers/binutils/gcc/glibc able to compile.
And I had a fear when I got a warning from the glibc build process telling me I was to downgrade my libc ! I had to set up FORCE_DOWNGRADE to 1 but I feel like this should be done by crossdev automaticelly.

Here are the commands I used to get all this work:
FORCE_DOWNGRADE=1 crossdev --arch=ppc -x --vbinutils= --vgcc=3.2.3-r4 --vglibc=2.3.2-r10
FORCE_DOWNGRADE=1 crossdev --arch=mips -x --vbinutils= --vgcc=3.2.3-r4 --vglibc=2.3.2-r10
FORCE_DOWNGRADE=1 crossdev --arch=arm -x --vbinutils= --vgcc=3.2.3-r4 --vglibc=2.3.1-r5

Here's my system configuration:
Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-,2.3.2-r9, 2.4.26)
System uname: 2.4.26 i686 AMD Athlon(tm) Processor
Autoconf: sys-devel/autoconf-2.58-r1,sys-devel/autoconf-2.59-r3,sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.7.7,sys-devel/automake-1.8.3
CFLAGS="-O2 -march=athlon -funroll-loops -pipe -fexpensive-optimizations"
CXXFLAGS="-O2 -march=athlon -funroll-loops -pipe -fexpensive-optimizations"
FEATURES="autoaddcvs buildpkg ccache cvs digest sandbox"
USE="3dnow X Xaw3d aalib acl acpi adns afs alsa apache2 apm avi berkdb bidi bonobo cdr crosscompile crypt cscope cups curl dga directfb doc dvd dvdr emacs emacs-w3 encode esd evo fam fastcgi fbcon fbdev flac gb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jpeg junit ladcca lcms ldap leim libgda libwww lirc mad maildir matrox mbox mcal memlimit mikmod mmx motif mozilla mpeg nas ncurses netcdf nls odbc oggvorbis opengl oss pam pdflib perl plotutils png ppds python quicktime readline ruby sasl scanner sdl slang slp snmp speex sse ssl svga tcltk tcpd tetex theora tiff truetype unicode usb videos wmf wxwindows x86 xface xinerama xml xml2 xmms xosd xv zlib"

Hope this can help !

Reproducible: Always
Steps to Reproduce:
Comment 1 Joshua Kinard gentoo-dev 2004-08-21 13:46:26 UTC
Yeah, I'm aware of this issue.  I've got an updated variant of crossdev in CVS (check it out via viewCVS in gentoo/users/kumba).  Just haven't gotten around to packaging up a 0.5 revision yet.
Comment 2 SpanKY gentoo-dev 2005-03-03 17:36:44 UTC
<=crossdev-0.4 is no longer supported ... please upgrade to crossdev-0.9 and if
you're still having problems, re-open the bug and re-assign to