bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building gnustep-base with gcc-3.1


From: Benhur Stein
Subject: Re: building gnustep-base with gcc-3.1
Date: Mon, 03 Jun 2002 09:58:25 -0300

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.
- put those functions in a .c file, to compile as real functions (not inlined).

Benhur




reply via email to

[Prev in Thread] Current Thread [Next in Thread]