This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Creating ARM toolchain


Hinko Kocevar wrote:
I'm trying to make myself a working ARM toolchain optimised for Xscale PXA255 CPU. I tried to build several of them this weekend and only one actually came through the whole procedure. Below are errors reported. I'm doing this on suse9.0 linux with gcc:
xtrm@noa:~> gcc --version
gcc (GCC) 3.3.1 (SuSE Linux)


a) With crosstool-0.28-rc28, compiled successfully
`cat armv5b-softfloat.dat gcc-3.4.0-glibc-2.3.2.dat`  sh all.sh --notest

b)  With crosstool-0.28-rc30, failed
`cat armv5b-softfloat.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest

c) With crosstool-0.28-rc30, failed
`cat armv5b-softfloat.dat gcc-3.5-20040523-glibc-2.3.2.dat` `cat armv5b-softfloat.dat gcc-3.3.4-glibc-2.3.2.dat` `cat armv5b-softfloat.dat gcc-3.3.3-glibc-2.3.2.dat`


I think gcc-3.4.x has fixes for arm that earlier versions lack.
If you can live with it, please do.
(Do try gcc-3.4.1, too.)

The patches/gcc-3.3.4 directory in crosstool is still fairly empty;
you might need to copy some patches from ../gcc-3.3.3.  But gcc-3.3.3
wasn't happy either for you, so I guess that's not it.
I don't know why 3.3.3 didn't build...

gcc-3.5 is not yet ready for prime time (I can't build glibc with it).

BTW, here's the build matrix from crosstool-0.28-rc28 (nothing much has
changed since then, so I don't know why your build of 3.3.3 failed...)

Tested combinations:

A: gcc-2.95.3 glibc-2.1.3 binutils-2.13.90.0.2 linux-2.4.21
B: gcc-2.95.3 glibc-2.2.5 binutils-2.11.2      linux-2.4.3
C: gcc-3.3.3  glibc-2.1.3 binutils-2.15        linux-2.4.24
D: gcc-3.3.3  glibc-2.2.5 binutils-2.15        linux-2.4.21
E: gcc-3.3.3  glibc-2.3.2 binutils-2.15        linux-2.4.24
F: gcc-3.4.0  glibc-2.1.3 binutils-2.15        linux-2.4.21
G: gcc-3.4.0  glibc-2.2.5 binutils-2.15        linux-2.4.21
H: gcc-3.4.0  glibc-2.3.2 binutils-2.15        linux-2.6.6


Results:


                A       B       C       D       E       F       G       H
alpha           FAIL    pass    FAIL    FAIL    pass    FAIL    FAIL    pass
arm9tdmi        FAIL    FAIL    FAIL    pass    pass    FAIL    pass    pass
arm             pass    pass    FAIL    pass    pass    FAIL    pass    pass
arm-iwmmxt      FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    pass    pass
arm-softfloat   FAIL    FAIL    FAIL    pass    pass    FAIL    FAIL    FAIL
cris            FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL
hppa            FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL
i686            pass    pass    pass    pass    pass    pass    pass    pass
ia64            FAIL    FAIL    FAIL    FAIL    pass    FAIL    FAIL    pass
m68k            pass    FAIL    FAIL    FAIL    pass    FAIL    FAIL    pass
mipsel          FAIL    FAIL    FAIL    FAIL    pass    FAIL    FAIL    pass
powerpc-405     FAIL    FAIL    FAIL    pass    pass    FAIL    pass    pass
powerpc-440     FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    pass    pass
powerpc-604     pass    pass    FAIL    pass    pass    FAIL    pass    pass
powerpc-7450    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    pass
powerpc-750     pass    pass    FAIL    pass    pass    FAIL    pass    pass
powerpc-860     FAIL    pass    FAIL    pass    pass    FAIL    pass    pass
powerpc-970     FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    pass
s390            FAIL    FAIL    FAIL    FAIL    pass    FAIL    FAIL    pass
sh3             FAIL    FAIL    FAIL    pass    pass    FAIL    pass    pass
sh4             FAIL    FAIL    FAIL    pass    pass    FAIL    pass    pass
sparc64         FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    FAIL    pass
sparc           FAIL    pass    FAIL    pass    pass    FAIL    FAIL    pass
x86_64          FAIL    FAIL    FAIL    FAIL    pass    FAIL    FAIL    pass

- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]