Problems with cross-compilation for MIPSel platform (LG TV)

Discussion about other and unofficial ports of ScummVM

Moderator: ScummVM Team

Post Reply
xeros
Posts: 1
Joined: Fri Sep 09, 2011 12:48 pm

Problems with cross-compilation for MIPSel platform (LG TV)

Post by xeros »

When I try to compile ScummVM 1.3.1 under my toolchain I get following error (after many other objects compiled successfully):

/opt/crosstools_hf-linux-2.6.18.0_gcc-4.2-11ts_uclibc-nptl-0.9.29-20070423_20090508/env.sh make -j 5
C++ common/stream.o
common/stream.cpp: In function 'Common::WriteStream* Common::wrapBufferedWriteStream(Common::WriteStream*, uint32)':
common/stream.cpp:486: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [common/stream.o] Error 1

It looks like GCC 4.2 bug but I'd like to avoid GCC upgrade for this platform.
Has anyone experienced something like this on other platforms or know any workaround in code?
Post Reply