[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
M68K (mcpu=cpu32)issues with latest tool chain
- Date: Fri, 1 Apr 2011 15:32:51 -0400
- From: kevin.kirspel at optimedical.com (Kirspel, Kevin)
- Subject: M68K (mcpu=cpu32)issues with latest tool chain
I downloaded the latest tool chains (binutils-2.21, gcc-4.5.2, newlib-1.19.0) and compiled RTEMS successfully. When running the application I get failures in most newlib string functions (strcmp, strncpy, etc.). My previous tool chain running 4.9 is: binutils-2.18, gcc-4.3.2, newlib-1.18.0 (which has no problems). There is not a lot of differences between newlib-1.18.0 and newlib-1.19.0 other than references to intptr_t instead of long. I replaced intptr_t with long to see if it made any difference and it does not. I forced the code to take the non optimized path (the slow method) and everything works OK. Does anyone know what might be causing the issue?
Senior Electrical Engineer
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510-4444 ext. 81642
-------------- next part --------------
An HTML attachment was scrubbed...