[Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-10 Thread Andy Ross
Just in case anyone else has noticed: I discovered today at work* that
the gcc 4.0.1 shipped with Fedora Core 4 miscompiles Nasal pretty
badly when the optimizer is turned on.

I'm not sure what the effect will be on FlightGear specifically, as I
haven't had time to do a build recently.  Nonetheless, I'd suggest
that anyone having trouble with FC4 (or gcc4 in general) use gcc 3.2.3
for the time being.  This is available in the compat-gcc-32 package
for Fedora, and you can tell the configure scripts to use it via:

export CC=gcc32

I'd be curious to see if anyone else has had this problem.

Andy

* Yes, I'm using Nasal at work.  We even have a mac here that has
  reproduced the endianness issues, so hopefully I'll have a fix for
  that ready in a few days.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-10 Thread Mathias Fröhlich
On Donnerstag 11 August 2005 01:37, Andy Ross wrote:
> Just in case anyone else has noticed: I discovered today at work* that
> the gcc 4.0.1 shipped with Fedora Core 4 miscompiles Nasal pretty
> badly when the optimizer is turned on.
>
> I'm not sure what the effect will be on FlightGear specifically, as I
> haven't had time to do a build recently.  Nonetheless, I'd suggest
> that anyone having trouble with FC4 (or gcc4 in general) use gcc 3.2.3
> for the time being.  This is available in the compat-gcc-32 package
> for Fedora, and you can tell the configure scripts to use it via:
>
> export CC=gcc32
>
> I'd be curious to see if anyone else has had this problem.

Using fc4 for some weeks now.

I have sometimes strange problems with some keybindings.
I do not know if these are dony by nasal or if the ones in question are 
implementented directly.
But sounds like that.

Do you already know which file is misscompiled?

  Greetings

  Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-11 Thread Erik Hofman

Andy Ross wrote:


* Yes, I'm using Nasal at work.  We even have a mac here that has
  reproduced the endianness issues, so hopefully I'll have a fix for
  that ready in a few days.


Yes! ;-)
Seriously, it's probably a *lot* faster to hunt down the problem in a 
stand-alone version of Nasal.


Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-11 Thread Erik Hofman

Mathias Fröhlich wrote:


I have sometimes strange problems with some keybindings.
I do not know if these are dony by nasal or if the ones in question are 
implementented directly.

But sounds like that.


I expect so. About every key I hit generates a Nasal error on my O2.

Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-13 Thread Mathias Fröhlich
On Donnerstag 11 August 2005 10:09, Erik Hofman wrote:
> Mathias Fröhlich wrote:
> > I have sometimes strange problems with some keybindings.
> > I do not know if these are dony by nasal or if the ones in question are
> > implementented directly.
> > But sounds like that.
>
> I expect so. About every key I hit generates a Nasal error on my O2.
You use gcc-4.* on your O2?
I thought that you use sgi's CC?

If you experience the same problems with that CC, there is most propably 
something in the nasal code which compiles well with gcc-3 by accident.

Greetings

Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Nasal vs. gcc 4.0.x

2005-08-13 Thread Erik Hofman

Mathias Fröhlich wrote:

You use gcc-4.* on your O2?


No the O2 is big-endian, different problem.


I thought that you use sgi's CC?


Yes.

Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d