This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: bug in sprintf
Andrew Lunn wrote:
> It looks like a compiler bug, so the proper fix is to fix the
> compiler, probably the optimizer. If it gets it wrong here, where else
> is it getting it wrong?
>
We have had some problems with arm-elf-gcc 3.2.1, when we switched to 3.2.2 the problems
disappeared. Now we run 3.3 and it works fine. Maybe try updating to GCC 3.2.3 could solve this
problem? (maybe also update to latest versions of newlib and binutils when you compile gcc)
Best Regards,
/Fredrik
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss