Hi,

Before doing anything I try to give you more info (I attached log files when I try to build toolchain for an Etrax100).

I tried USE="-*" emerge -O cross-$CTARGET/gcc but it ends with the following error :

* Applying gcc-4.0.2-softfloat.patch ...

 * Failed Patch: gcc-4.0.2-softfloat.patch !
 *  ( /usr/local/portage/cross-cris-softfloat-uclinux-uclibc/gcc/files/4.0.2/gcc-4.0.2-softfloat.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/cross-cris-softfloat-uclinux-uclibc/gcc-4.3.1-r1/temp/gcc-4.0.2-softfloat.patch-18633.out

 *
 * ERROR: cross-cris-softfloat-uclinux-uclibc/gcc-4.3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4589:  Called epatch 'src_unpack'
 *             environment, line 2097:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: gcc-4.0.2-softfloat.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/cross-cris-softfloat-uclinux-uclibc/gcc-4.3.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-cris-softfloat-uclinux-uclibc/gcc-4.3.1-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'

Thank you,
Jean-Marc

On Fri, Oct 10, 2008 at 4:44 PM, Ned Ludd <solar@gentoo.org> wrote:

On Fri, 2008-10-10 at 15:07 +0200, Jean-Marc Beaune wrote:
> Hi,
>
> I'm trying to install the toolchain and regardless of the tuple I use
> crossdev fails to compile gcc.
>
> Any idea?
>


Chances are you are hitting the bug with crossdev and headers.

If so.

crossdev $CTARGET
#wait for failure.
USE="-*" emerge -O cross-$CTARGET/gcc
crossdev $CTARGET


Good luck.

--
Ned Ludd <solar@gentoo.org>
Gentoo Linux





--
Jean-Marc