GNOME Bugzilla – Bug 608897
Fails to build with binutils gold
Last modified: 2010-03-04 08:26:00 UTC
Hi, (This comes from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554756.) Tried to build your package and it fails to build with GNU binutils-gold. The important difference is that --no-add-needed is the default behavior of of GNU binutils-gold. Please provide all needed libraries to the linker when building your executables. More informations can be found at http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking /bin/bash ../libtool --tag=CC --mode=link cc -O2 -Wall -O2 -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" -Wl,-O1 -Wl,--as-needed -lgettextpo -ldb -o gtranslator main.o libgtranslator.la -lgconf-2 -lgtksourceview-2.0 -lgdl-1 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgtkspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 libtool: link: cc -O2 -Wall -O2 -Wl,-O1 -Wl,--as-needed -o gtranslator main.o -Wl,--export-dynamic ./.libs/libgtranslator.a -lgettextpo -ldb /usr/lib/libgconf-2.so -lgtksourceview-2.0 -lgdl-1 /usr/lib/libxml2.so -lgtkspell /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -pthread /usr/bin/ld: main.o: in function main:main.c(.text+0x313): error: undefined reference to 'g_thread_init' collect2: ld returned 1 exit status
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
*** Bug 611739 has been marked as a duplicate of this bug. ***
Sorry for the noise... ignore my last message. Apparently I'm a little more dyslexic than I realized; 611739 is a dupe of 608879, not this one.