[Scummvm-tracker] [ScummVM :: Bugs] #13090: SYMBIAN: Build Failure Due to Certain Array Declaration Formats
ScummVM :: Bugs
trac at scummvm.org
Sun Dec 12 23:47:05 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 fedor4ever):
Thans for pointing. I fixed many critical error but due bad code design
started from scratch as elf2e32_next. It still incomplete.
There relocation alignment failure. I go deeper to
https://github.com/fedor4ever/elf2e32/blob/ecfc39742dce03f3a5f4d83db18e8c1f395f3c47/source/portable.cpp#L427.
I add printf after that line
'''
if(offset&pointerAlignMask) {
printf("not aligned correctly");
RETURN_FAILURE(KErrCorrupt); }// not aligned correctly
'''
And see "not aligned correctly".
I use GCC 5.4.0, 5.5.0, 7.1.0, 11.2.0 with vary binutils. Currently use
11.2.0 with binutils 2.35. I have others too.
I can upload resulted elf file with required parameters for elf2e32.
I try co compile ultima\game\item.cpp with gcc 5.4.0 and link with rest.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13090#comment:9>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list