[Scummvm-devel] PS2 #22 : tools : compiler ICE, etc. : must

sunmax at libero.it sunmax at libero.it
Mon Mar 2 07:12:13 CET 2009


[1]

 common/hashmap.h needs to be changed (commenting out defaultVal
 MIL for PS2).


There are actually even more ICEs:

[2]

   OSystem_PS2::makeConfigPath()':
../../../backends/platform/ps2/systemps2.cpp:902: jump to case label
../../../backends/platform/ps2/systemps2.cpp:877:   crosses initialization of `
   Common::FSNode scumIni'
../../../backends/platform/ps2/systemps2.cpp:906: jump to case label
../../../backends/platform/ps2/systemps2.cpp:877:   crosses initialization of `
   Common::FSNode scumIni'
../../../backends/platform/ps2/systemps2.cpp:907: jump to case label
../../../backends/platform/ps2/systemps2.cpp:877:   crosses initialization of `
   Common::FSNode scumIni'
../../../backends/platform/ps2/systemps2.cpp:908: jump to case label
../../../backends/platform/ps2/systemps2.cpp:877:   crosses initialization of `
   Common::FSNode scumIni'

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [backends/platform/ps2/systemps2.o] Error 1

I worked this out by moving the Common::FSNode out of the switch even
if it is a drag cause it's not needed for most of the cases...


[3]

Not sure about this one, if it compiles for everybody else then gotta
be my PS2 vintage compiler... When you try to compile M4 engine on PS2
you get:

 In file included from ../../../engines/m4/globals.cpp:31:
../../../engines/m4/script.h: In member function `const T&
   M4::ScriptInterpreter::toData(const M4::ScriptValue&)':
../../../engines/m4/script.h:303: parse error before `;' token
make: *** [engines/m4/globals.o] Error 1

[4]

The following is not exactly an ICE, but a LIBC shortcoming:

  ../../../engines/tinsel/saveload.cpp: undefined reference to `mktime'
engines/tinsel/libtinsel.a(saveload.o)(.text+0x4c20):../../../engines/tinsel/savv
eload.cpp: undefined reference to `mktime'
engines/tinsel/libtinsel.a(saveload.o)(.text+0x4c2c):../../../engines/tinsel/savv
eload.cpp: undefined reference to `difftime'

 (mktime is missing in PS2 libc)

Thanks!
 -max





More information about the Scummvm-devel mailing list