with trunk revision 156392 1. get and unpack the scummvm src: http://helllabs.org/scummvm/scummvm-20100201.tar.bz2 2. ./configure --enable-all-engines 3. edit config.mk so that CXXFLAGS := -O2 -funswitch-loops -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon -fivopts -ftree-vectorize -fvariable-expansion-in-unroller -fpredictive-commoning -fweb -ffast-math -fsee -fgcse-after-reload -fgcse-sm -g -ansi -W -Wno-unused-parameter -Wno-empty-body -pedantic
4. edit config.mk so that LDFLAGS reads as "-lm -flto -fuse-linker-plugin -fwhole-program" 5. make result: engines/cine/gfx.cpp: In member function virtual void Cine::OSRenderer::transformPalette(int, int, int, int, int): engines/cine/gfx.cpp:1243:6: internal compiler error: in scan_tree_for_params, at graphite-sese-to-poly.c:815 -- Summary: crash when compiling scummvm on Ubuntu 9.10/amd64 with Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: matt at use dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42930