[ECOS] JFFS2 on big-endian system

Andrew Lunn andrew@lunn.ch
Tue Nov 25 16:11:00 GMT 2003


> The attached change fixed it to me, but I think maybe it is a compiler bug?
> 
> Maybe the other problems I have if I save a ready filesystem image in FLASH
> has similar reasons.

What compiler are you using? You might be interested in:

http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html

Its is known that the eCosCentric ARM compiler is broken. fs-ecos.c
checks this and gives an error message. It has the following code:

#if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ == 1) && \
    defined (__ARM_ARCH_4__)
#error This compiler is known to be broken. Please see:
#error http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html
#endif
 
It looks like i need to add another compiler to this check :-(

   Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list