After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608897 - Fails to build with binutils gold
Fails to build with binutils gold
Status: RESOLVED FIXED
Product: gtranslator
Classification: Other
Component: Build
1.9.x
Other Linux
: Normal normal
: 2.0
Assigned To: gtranslator-maint
gtranslator-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-03 15:37 UTC by Jordi Mallach
Modified: 2010-03-04 08:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jordi Mallach 2010-02-03 15:37:26 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
Comment 1 Ignacio Casal Quinteiro (nacho) 2010-02-09 14:07:39 UTC
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.
Comment 2 Michael Martin-Smucker 2010-03-03 22:33:39 UTC
*** Bug 611739 has been marked as a duplicate of this bug. ***
Comment 3 Michael Martin-Smucker 2010-03-03 22:38:12 UTC
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.