On 2002-06-01 20:27:02 +0200 Matthias Klose <m@klose.in-berlin.de> wrote:
Trying to build gnustep-base-1.3.2 on i386-linux with gcc-3.1 results
in unusable executables, i.e. starting gnumail and/or affiche:
/usr/lib/GNUstep/System/Applications/GNUMail.app/ix86/linux-gnu/gnu-gnu-gnu/GNUMail:
Uncaught exception NSInternalInconsistencyException, reason: extra
object crossref - 0
[...]
Can somebody reproduce this errors or build applications, which run
without errors?
It seems to be a bug in gcc 3.1.
I filed a bug report to them.
It generates wrong code when compiling NSSwapI* in NSByteOrder.h with -O2
Some possible work-arounds:
- compile without -O2
- add a call to a bogus function (one that does nothing) as first thing
in the
NSSwapI* functions.