[Scummvm-tracker] [ScummVM :: Bugs] #13090: Build failure due ItemLocation array declaration

ScummVM :: Bugs trac at scummvm.org
Sun Dec 12 00:08:47 UTC 2021


#13090: Build failure due ItemLocation array declaration
-----------------------------+---------------------------------------------
Reporter:  fedor4ever        |       Owner:  sev-
    Type:  defect            |      Status:  new
Priority:  normal            |   Component:  Engine: Ultima
 Version:                    |  Resolution:
Keywords:  Symbian, build    |        Game:  Ultima IV: Quest of the Avatar
  error                      |
-----------------------------+---------------------------------------------
Comment (by digitall):

 fedor4ever: While the code in Ultima4 seems to work fine and compile
 without warnings in my Linux desktop GCC, it is a bit "corner-case" and
 thus may provoke issues in older compilers.

 I think there is probably an issue with the ARM GCC for Embedded Compiler
 as the elf2e32 tool seems to indicating that the elf file is not valid.
 You may want to compare the arm-objdump output from a "good" and "bad"
 file to work out what elf2e32 is choking on.

 Are you using the original GCC from the SDK i.e. released around 2009? I
 assume not as this would not likely support C++-11 and I can see you have
 scripts to build a bleeding edge / newer GCC toolchain here:
 https://github.com/fedor4ever/GCC4Symbian

 As sev- indicates this is likely a toolchain issue. Assuming the "bad" elf
 is a valid format, this might be an issue with elf2e32 parsing the elf in
 some corner case... but hard to debug remotely.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13090#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list