This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Stress testing JFFS2
- From: Andrew Lunn <andrew at lunn dot ch>
- To: ?yvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 16 Oct 2003 09:32:30 +0200
- Subject: Re: [ECOS] Stress testing JFFS2
- References: <1066289013.5833.24.camel@famine>
> - 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