Erik Hofman wrote:
When I start FlightGear I get the following list of errors on IRIX (big-Endian) (Linux doesn't have this problem):
This looks like the GC is cleaning up objects incorrectly. On the assumption that this is an endianness issue: Is this for a 32 or 64 bit target (Nasal has three structure layouts* for the naRef -- both endiannesses for 32 bit and just one layout for 64 bit)?
Ah, yes now I remember. It's for 32-bit big-endian.
Can you verify that nothing has broken with the endian detection stuff at the top of nasal.h (building for the wrong layout will "mostly" work but might produce issues like this), maybe by just deleting everything that isn't part of a NASAL_BIG_ENDIAN_32_BIT block?
This seems to work correctly, it detects it has to define NASAL_BIG_ENDIAN_32_BIT
Oddly, the structure layout stuff has not changed in this version, so I'm out of ideas as to what might have happened. I'll see if I can find a BE system at work (we have a few old suns running linux) to test on.
It's getting late here so I won't do any testing today but I'll start to look at it tomorrow morning again.
Erik
_______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
