[ECOS] Stress testing JFFS2

Andrew Lunn andrew@lunn.ch
Thu Oct 16 07:32:00 GMT 2003


> - GCC bug-fix. (Now comitted to eCos CVS, I think).

Err, are you sure? All i committed was a test to see if you are using
a known broken compiler and if so, refuse to compile.

  Andrew

Index: fs-ecos.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/jffs2/current/src/fs-ecos.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- fs-ecos.c   23 Sep 2003 11:47:59 -0000      1.10
+++ fs-ecos.c   4 Oct 2003 17:54:26 -0000       1.11
@@ -28,6 +28,12 @@
 #include <cyg/io/config_keys.h>
 #include <cyg/io/flash.h>
 
+#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
+
 //==========================================================================
 // Forward definitions
 

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