GOB: not compilable under ps2 toolchain in MINGW/MSYS
|Reported by:||SF/mac_es78||Owned by:||sunmax|
I was trying to compile ScummVM 0.11.1 whith ps2 toolchain under MINGW/MSYS. I got an error when I tried to include gob engine.
The 'offending' code is in engines/gob/map_v1.cpp and was introduced in revision 28591.
The error is: Assertion failure in tc_gen_reloc at ../../gas/config/tc-mips.c line 1440
The real code is in the init() method:
if (_passMap || _itemsMap) return;
It seems that you can't use the pointers like that. For example, if (_passMap || _itemsMap) will work...
My ps2 toolchain is based in: binutils-2.14, gcc-3.2.2, newlib-1.10.0 and an updated ps2sdk.
All other engines in the branch are compilable.
Ticket imported from: #1902303. Ticket imported from: bugs/3637.