M68K (mcpu=cpu32)issues with latest tool chain
Joel Sherrill
joel.sherrill at OARcorp.com
Fri Apr 1 20:59:50 UTC 2011
On 04/01/2011 02:32 PM, Kirspel, Kevin wrote:
>
> 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?
>
Can you clarify what you mean by fast and slow path?
Which file are you compiling? How is it failing?
The file strcmp.c in newlib hasn't changed since its initial import
so I am concerned this might be a gcc issue. :(
>
> Kevin Kirspel
>
> Senior Electrical Engineer
>
> Opti Medical
>
> 235 Hembree Park Drive
>
> Roswell GA 30076
>
> Tel: (770)-510-4444 ext. 81642
>
> Direct: (770)-688-1642
>
> Fax: (770)-510-4445
>
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list