Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283545

Summary: sys-devel/crossdev-0.9.19 and toolchain.eclass v 1.406 : crossdev arm-eabi --stage4 dont build stage2
Product: Gentoo Linux Reporter: tzopik <tzopik>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adding eabi sport for bare metal
adding eabi sport for bare metal

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