[crosstool-ng] ARM EABI problem

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu May 15 21:30:00 GMT 2008


Matthias,
All,

On Tuesday 13 May 2008 10:45:33 Matthias Kaehlcke wrote:
> the problem was that arm-gcc generates by default EABI code for
> armv5t, while the AT91RM9200 is armv4t. the patch provided by martin
> resolved the problem.

Good to know.

> the kernel and the static hello world were build with the ct-ng EABI
> toolchain. as i said above, with martins patch it started to
> work. maybe your cpu is armv5t? 

Yes, it _is_ armv5te (xscale). You meant v4, I guess.
The real problem was a floating point issue, with mis-matched ABI: compiler
was built with soft-float (VFP? FPA?) support, while C library was built with
hard-float VFP support. Symptom was that setjmp(3) was not wotrking. Took me
10 days to figure out... Sigh...

Regards,
Yann E. MORIN.

PS. I'm rolling-out a bug-fix release of crosstool-NG tonight for those
    interested.
YEM.

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



More information about the crossgcc mailing list