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]

Re: [crosstool-ng] ARM EABI problem


Hello!

On Saturday 10 May 2008 13:58:42 Matthias Kaehlcke wrote:
> 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

What is it booting into? I have a similar problem (EABI _and_ OABI) where
setjmp from uClibc causes segfaults, though setjmp is most probalbly not the
real culprit. I suspect a problem with gas. But I might be highly wrong here.

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

Well, EABI is still marked as being EXPERIMENTAL, because I don't master it
yet...

A toolchain built with ct-ng builds linux kernels just fine. The problems
arise in userland...

> 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

See other post: arm-v4 vs. arm-v5

Anyway, I'm inverstigating this EABI problem...

Could you just try to build both a kernel and a static hello world with
your EABI toolchain build with ct-ng? Mine is working just fine here.
Problems arise with more complex programs an dynamic linking.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°


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