public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* crash with -fuse-linker-plugin
@ 2010-01-30  1:16 Matt
  2010-01-30  1:36 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Matt @ 2010-01-30  1:16 UTC (permalink / raw)
  To: gcc-help

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?


--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: crash with -fuse-linker-plugin
  2010-01-30  1:16 crash with -fuse-linker-plugin Matt
@ 2010-01-30  1:36 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-01-30  1:36 UTC (permalink / raw)
  To: Matt; +Cc: gcc-help

Matt <matt@use.net> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-30  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-30  1:16 crash with -fuse-linker-plugin Matt
2010-01-30  1:36 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).