[Scummvm-tracker] [ScummVM] #10695: ppc64le incorrectly detected as big endian
digitall
trac at scummvm.org
Mon Oct 1 03:14:05 CEST 2018
#10695: ppc64le incorrectly detected as big endian
------------------------+--------------------
Reporter: classilla | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Ports
Resolution: | Keywords:
Game: |
------------------------+--------------------
Comment (by digitall):
classilla: Since the Talos II workstation is not that common, I can't
replicate your issue directly as I don't have access to the hardware.
However, assuming that you are compiling ScummVM natively with GCC (or
similar), Endian is detected by the configure script which does this by
testing the output of a compiled test program. See:
https://github.com/scummvm/scummvm/blob/master/configure#L2198
The normal output on my x86_64 Linux box which is little endian is:
<snip>
Running ScummVM configure...
Looking for C++ compiler... g++
...
Checking for whether C++ compiler accepts -Wno-pragma-pack... no
Checking endianness... little
</snip>
Can you confirm whether the configure script when run on your machine
reports as big or little endian? Or is it reporting some kind of error to
stderr?
Apart from that, you could try extracting that C++ program and manually
compiling to compare the output...
--
Ticket URL: <https://bugs.scummvm.org/ticket/10695#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list