Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   Trying to get toolchain (http://www.linux-archive.org/gentoo-embedded/174027-trying-get-toolchain.html)

"Jean-Marc Beaune" 10-10-2008 01:07 PM

Trying to get toolchain
 
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

Peter Stuge 10-10-2008 02:40 PM

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

Ned Ludd 10-10-2008 02:44 PM

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.

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 Beaune" 10-11-2008 07:32 AM

Trying to get toolchain
 
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

Ryan Tandy 10-11-2008 06:24 PM

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

Martin Gysel 10-11-2008 07:08 PM

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

Ryan Tandy 10-11-2008 07:43 PM

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

Enrico Weigelt 11-15-2008 04:47 AM

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.

Did you try crosstool instead ?

http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool


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/
---------------------------------------------------------------------


All times are GMT. The time now is 07:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.