This bug occurs on sparc and alpha (at least), and is most likely caused by
the use of the -Wl,-O1 option. So this is a gcc/binutils regression, but
not exactly a high priority one for the toolchain folks to fix -- it may be
a good idea to disable this linker option for now.
On Wed, Jul 20, 2005 at 02:16:12AM -0700, Blars Blarson wrote:
> Package: gnome-games
> Version: 1:2.10.1-5
> Severity: serious
> Justification: fails to build from source
> gnome-games failed to build on a sparc buildd, duplicated on sparc pbuilder:
> /bin/sh ../libtool --mode=link cc -g -Wall -O2 -DNO_HOWL -Wl,-O1 -Wl,--as-needed -o same-gnome drawing.o game.o input.o same-gnome.o ui.o ../libgames- support/ libgames- support. la -Wl,--export- dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../libgames- support/ libgames- support. la dynamic -pthread -L/usr/X11R6/lib /usr/lib/ libglade- 2.0.so /usr/lib/ libgnomeui- 2.so -lSM -lICE /usr/lib/ libbonoboui- 2.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/ libgnomecanvas- 2.so /usr/lib/ libgnome- 2.so /usr/lib/libpopt.so /usr/lib/ libart_ lgpl_2. so /usr/lib/ libpangoft2- 1.0.so /usr/lib/ libbonobo- 2.so /usr/lib/ libgconf- 2.so /usr/lib/ libgnomevfs- 2.so /usr/lib/ libbonobo- activation. so /usr/lib/ libORBit- 2.so /usr/lib/ libgthread- 2.0.so /usr/lib/ libgtk- x11-2.0. so /usr/lib/ libgdk- x11-2.0. so /usr/lib/ libatk- 1.0.so /usr/lib/ libpangoxft- 1.0.so /usr/lib/ libpangox- 1.0.so /usr/lib/ libpango- 1.0.so /usr/lib/ librsvg- 2.so /usr/lib/ libgdk_ pixbuf- 2.0.so -lm /usr/lib/ libgobject- 2.0.so /usr/lib/ libgmodule- 2.0.so -ldl /usr/lib/ libglib- 2.0.so ../libgames- support/ .libs/libgames- support. a gcc/sparc- linux-gnu/ 4.0.1/. ./../.. /../lib/ crt1.o: ../sysdeps/ sparc/sparc32/ elf/start. S:32: multiple definition of `_PROCEDURE_ LINKAGE_ TABLE_'
> mkdir .libs
> cc -g -Wall -O2 -DNO_HOWL -Wl,-O1 -Wl,--as-needed -o same-gnome drawing.o game.o input.o same-gnome.o ui.o -Wl,--export-
> /usr/lib/
> /usr/bin/ld: Disabling relaxation: it will not work with multiple definitions
> collect2: ld returned 1 exit status
> make[4]: *** [same-gnome] Error 1
This bug occurs on sparc and alpha (at least), and is most likely caused by
the use of the -Wl,-O1 option. So this is a gcc/binutils regression, but
not exactly a high priority one for the toolchain folks to fix -- it may be
a good idea to disable this linker option for now.
--
Steve Langasek
postmodern programmer