[Scummvm-tracker] [ScummVM :: Bugs] #13090: SYMBIAN: Build Failure Due to Certain Array Declaration Formats

ScummVM :: Bugs trac at scummvm.org
Mon Dec 13 00:43:59 UTC 2021


#13090: SYMBIAN: Build Failure Due to Certain Array Declaration Formats
-----------------------------+---------------------------------------------
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):

 https://github.com/fedor4ever/elf2e32/blob/ecfc39742dce03f3a5f4d83db18e8c1f395f3c47/source/portable.cpp#L357
 shows that ARM code here needs alignment to 4 bytes in the relocation
 addresses of the sections.

 Try "readelf -a <name of elf>" or "<arm-eabi->objdump -r <name of elf>" to
 see what relocations are present and make sure the addresses are divisible
 by 4.

 That will indicate what section is causing the issue.

 I suggest you also read https://developer.arm.com/documentation/dui0474/f
 /image-structure-and-generation/section-alignment-with-the-linker ...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13090#comment:12>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list