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: Adam Fedor
Subject: Re: building gnustep-base with gcc-3.1
Date: Mon, 03 Jun 2002 11:06:40 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0rc2) Gecko/20020513

Benhur Stein wrote:
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.

Do you think you could submit a patch which does this? I can put out a new release of gnustep-base with this fix, then.


--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.




reply via email to

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