Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283545 - sys-devel/crossdev-0.9.19 and toolchain.eclass v 1.406 : crossdev arm-eabi --stage4 dont build stage2
Summary: sys-devel/crossdev-0.9.19 and toolchain.eclass v 1.406 : crossdev arm-eabi --...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 18:47 UTC by tzopik
Modified: 2010-10-28 04:24 UTC (History)
0 users

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


Attachments
adding eabi sport for bare metal (crossdev.patch,362 bytes, patch)
2009-09-02 18:50 UTC, tzopik
Details | Diff
adding eabi sport for bare metal (toolchain.eclass.patch,840 bytes, text/plain)
2009-09-02 18:50 UTC, tzopik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tzopik 2009-09-02 18:47:25 UTC
i need to build a c and c++ cross-compiler 'arm-eabi' to work with ecos rtos, but the crossdev script not support the topple eabi in bare metal.
After 2 days of searching applying patch's etc, i find the problem and it is related to crossdev script and toolchain.eclass i made two little patches that for now resolve the problem.

1. the crossdev need a new CTARGET type. I add *-eabi) that build with newlib in a stage4 (c,c++)

2. intruduce the *-eabi) in toolchain.eclass for building gcc stage2 (c++) correctly

sorry for this bad inglish

Reproducible: Always

Steps to Reproduce:
1. crossdev arm-eabi
2.
3.

Actual Results:  
eix -C cross-arm-eabi -I --compact
[I] cross-arm-eabi/binutils [1] (2.19.1-r1(arm-eabi)@09/02/09): Tools necessary to build programs
[I] cross-arm-eabi/gcc [1] (4.1.2(arm-eabi-4.1)@09/02/09 4.2.4-r1(arm-eabi-4.2)@09/02/09 4.3.4(arm-eabi-4.3)@09/02/09 4.4.1(arm-eabi-4.4)@09/02/09): The GNU Compiler Collection
[I] cross-arm-eabi/gdb [1] (6.8-r2(arm-eabi)@09/01/09): GNU debugger
[I] cross-arm-eabi/newlib [1] (1.17.1(arm-eabi)@09/02/09): Newlib is a C library intended for use on embedded systems



at the moment i have the cross-compile working whith four versions of gcc

eix -C cross-arm-eabi -I --compact
[I] cross-arm-eabi/binutils [1] (2.19.1-r1(arm-eabi)@09/02/09): Tools necessary to build programs
[I] cross-arm-eabi/gcc [1] (4.1.2(arm-eabi-4.1)@09/02/09 4.2.4-r1(arm-eabi-4.2)@09/02/09 4.3.4(arm-eabi-4.3)@09/02/09 4.4.1(arm-eabi-4.4)@09/02/09): The GNU Compiler Collection
[I] cross-arm-eabi/gdb [1] (6.8-r2(arm-eabi)@09/01/09): GNU debugger
[I] cross-arm-eabi/newlib [1] (1.17.1(arm-eabi)@09/02/09): Newlib is a C library intended for use on embedded systems
Comment 1 tzopik 2009-09-02 18:50:19 UTC
Created attachment 203000 [details, diff]
adding eabi sport for bare metal
Comment 2 tzopik 2009-09-02 18:50:52 UTC
Created attachment 203001 [details]
adding eabi sport for bare metal
Comment 3 SpanKY gentoo-dev 2010-10-28 04:24:56 UTC
the eabi change in crossdev has been released, and ive now committed the toolchain.eclass part.  thanks !

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.440&r2=1.441