This is the mail archive of the crossgcc@sourceware.org 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]

[crosstool-ng] ARM EABI problem


hi,

i use crosstool-ng to generate an ARM EABI toolchain. the toolchain
builds without problems, but doesn't seem to generate valid
binaries. when booting the system with a rootfs generated using the
toolchain the kernel halts at:

Freeing init memory: 120K

the target is an kb9202b board with a AT91RM9200 cpu. the kernel is
compiled with EABI support.

the same rootfs built with an EABI toolchain of the emdebian
project works. 
on the working EABI rootfs i put a statically linked hello world
program, compiled with the crosstool-ng EABI toolchain. when i try to
execute it the following message is shown:

# ./hello_world_static
Illegal instruction

i attached the crosstool-ng configuration used to build the
toolchain. the same configuration without the EABI option generates
valid OABI binaries

any idea what could be the problem?

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

             "The only important thing Windows does better
            than Debian is implementing the win32 platform"
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

Attachment: .config
Description: Text document

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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