Hi,
*
I'm trying to install the toolchain and regardless of the tuple I use crossdev fails to compile gcc.
*
Any idea?
Please tell me if you need more info.
*
Thank you,
--
Jean-Marc
10-10-2008, 02:40 PM
Peter Stuge
Trying to get toolchain
Jean-Marc Beaune wrote:
> I'm trying to install the toolchain and regardless of the tuple I
> use crossdev fails to compile gcc.
>
> Any idea?
> Please tell me if you need more info.
Versions of all packages involved and the build log would be helpful.
//Peter
10-10-2008, 02:44 PM
Ned Ludd
Trying to get toolchain
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.
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:
************** 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
10-11-2008, 06:24 PM
Ryan Tandy
Trying to get toolchain
On Sat, Oct 11, 2008 at 09:32:22AM +0200, Jean-Marc Beaune wrote:
> * 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
> )
This happens with any *-softfloat-* toolchain and gcc-4.3. Try
compiling a gcc-4.1 or -4.2 toolchain.
Thanks,
Ryan
10-11-2008, 07:08 PM
Martin Gysel
Trying to get toolchain
Ryan Tandy schrieb:
> On Sat, Oct 11, 2008 at 09:32:22AM +0200, Jean-Marc Beaune wrote:
>> * 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
>> )
>
> This happens with any *-softfloat-* toolchain and gcc-4.3. Try
> compiling a gcc-4.1 or -4.2 toolchain.
of have a look at bug #228119, there's a new patch (AFAIK just converted
the 4.0.2 to compile with 4.3) but as it's not verified to work so
vapier hasn't committed it yet... - maybe you can verify it
Martin
10-11-2008, 07:43 PM
Ryan Tandy
Trying to get toolchain
On Sat, Oct 11, 2008 at 09:08:13PM +0200, Martin Gysel wrote:
> of have a look at bug #228119, there's a new patch (AFAIK just converted
> the 4.0.2 to compile with 4.3) but as it's not verified to work so
> vapier hasn't committed it yet... - maybe you can verify it
Thanks for the pointer. I hadn't noticed that bug. I'm setting up for
a toolchain build with that patch right now. When it's done I'll build
up a userland and see how it goes.
Thanks,
Ryan
11-15-2008, 04:47 AM
Enrico Weigelt
Trying to get toolchain
* Jean-Marc Beaune <jm.beaune@gmail.com> schrieb:
> Hi,
>
> I'm trying to install the toolchain and regardless of the tuple I use
> crossdev fails to compile gcc.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------