Matt <matt@xxxxxxx> writes: > Using latest SVN as of 20100128, I'm getting this problem on Ubuntu > 9.10 on amd64: > > ~/src/scummvm$ /home/matt/bin/g++ -lm -flto -fwhole-program > -fuse-linker-plugin backends/platform/sdl/events.o > backends/platform/sdl/graphics.o backends/platform/sdl/hardwarekeys.o > backends/platform/sdl/main.o backends/platform/sdl/sdl.o > base/libbase.a engines/scumm/libscumm.a engines/agi/libagi.a > engines/agos/libagos.a engines/cine/libcine.a > engines/cruise/libcruise.a engines/draci/libdraci.a > engines/drascula/libdrascula.a engines/gob/libgob.a > engines/groovie/libgroovie.a engines/kyra/libkyra.a > engines/lure/liblure.a engines/m4/libm4.a engines/made/libmade.a > engines/mohawk/libmohawk.a engines/parallaction/libparallaction.a > engines/queen/libqueen.a engines/saga/libsaga.a engines/sci/libsci.a > engines/sky/libsky.a engines/sword1/libsword1.a > engines/sword2/libsword2.a engines/teenagent/libteenagent.a > engines/tinsel/libtinsel.a engines/touche/libtouche.a > engines/tucker/libtucker.a engines/libengines.a gui/libgui.a > graphics/libgraphics.a sound/libsound.a backends/libbackends.a > common/libcommon.a sound/softsynth/mt32/libmt32.a -lasound -lz > -L/usr/lib -lSDL -o scummvm > > lto1: internal compiler error: in get_resolution, at > lto-streamer-in.c:1523 > > I configured with --enable-gold (and --enable-lto), and I have the > binutils-gold package installed. Do I need to build gold from trunk > and install it locally in order for this to work? This doesn't look like a gold problem at first glance. You should probably file a bug report at http://gcc.gnu.org/bugzilla/ . Ian