[Gstreamer-bugs] [Bug 115059] New - build raises bug in gcc/ld

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Jun 12 18:10:41 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=115059

Changed by fommil at yahoo.ie.

--- shadow/115059	Thu Jun 12 21:10:41 2003
+++ shadow/115059.tmp.11394	Thu Jun 12 21:10:41 2003
@@ -0,0 +1,97 @@
+Bug#: 115059
+Product: GStreamer
+Version: 0.3.3
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-player
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: fommil at yahoo.ie               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: build raises bug in gcc/ld
+
+hi there,
+
+the gst-player build raises a bug in GNU ld (2.13.2.1) under GNU/Linux. a
+`make` will bail with this at the final final linking stage. i have tried
+with gcc-2.95.3 and gcc-3.2.3
+
+################
+/bin/sh ../libtool --mode=link gcc -g -pipe  -g -O0   -o gst-player 
+gst_player-main.o -pthread -Wl,--export-dynamic -L/opt/gnome2/lib
+-L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2
+-lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2
+-lbonobo-activation -lgconf-2 -lORBit-2 -llinc -lgthread-2.0 -lglade-2.0
+-lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
+-lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
+-ldl -lglib-2.0 -liconv   -Wl,--export-dynamic -pthread -L/opt/gnome2/lib
+-lgstplay-0.6 -lgstcontrol-0.6 -lgstgconf-0.6 -lgstreamer-0.6 -lgobject-2.0
+-lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0
+-liconv   ../libs/gst/player/libgstplayer.la 
+gcc -g -pipe -g -O0 -o .libs/gst-player gst_player-main.o -pthread
+-Wl,--export-dynamic -Wl,--export-dynamic -pthread  -L/opt/gnome2/lib
+-L/usr/X11R6/lib -L/usr/lib -lz -lm -lpthread -ldl -lz -lpthread -lm -ldl
+-lm -ldl -lz -ldl -lpthread -lm -lm -lm -ldl -lpthread -lpthread -lz -lm
+-ldl -lm -ldl -lpthread -lm -ldl -lpthread -lpthread -ldl -lpthread
+-lpthread -lpthread -lz -lm -ldl -lpthread -lz -lm -lpthread -lz -ldl -ldl
+-lm -lm -ldl -ldl -ldl -ldl -lpthread -lz -lm -lz -lm -lpthread -ldl -ldl
+-lpthread -lz -lm -lz -lm -lpthread -ldl -ldl -ldl -lpthread -lpthread -lz
+-lm -lpthread -lz -lm ../libs/gst/player/.libs/libgstplayer.so
+/opt/gnome2/lib/libgstplay-0.6.so -ldl -lpthread -lz -lm
+/opt/gnome2/lib/libgstcontrol-0.6.so -lz -lm -lpthread -ldl
+/opt/gnome2/lib/libgstgconf-0.6.so -ldl -lpthread -lz -lm
+/opt/gnome2/lib/libgstreamer-0.6.so -lz -lm -lpthread -ldl -ldl -ldl
+-lpthread -lpthread -lz -lm -lpthread -lz -lm
+/opt/gnome2/lib/libgnomeui-2.so -lz -lm -lpthread -ldl /usr/lib/libjpeg.so
+-lSM -lICE /opt/gnome2/lib/libbonoboui-2.so -lz -lpthread -lm -ldl
+/opt/gnome2/lib/libgnomecanvas-2.so -lm -ldl /opt/gnome2/lib/libgnome-2.so
+-lz -ldl -lpthread /opt/gnome2/lib/libesd.so /usr/lib/libaudiofile.so -lm
+/usr/lib/libart_lgpl_2.so -lm /opt/gnome2/lib/libpangoft2-1.0.so
+/opt/gnome2/lib/libbonobo-2.so /opt/gnome2/lib/libORBitCosNaming-2.so -lm
+-ldl -lpthread /opt/gnome2/lib/libgnomevfs-2.so -lpthread -lz -lm -lssl
+-lcrypto -ldl -lrt /opt/gnome2/lib/libbonobo-activation.so -lm -ldl
+-lpthread /opt/gnome2/lib/libgconf-2.so -lm -ldl -lpthread
+/opt/gnome2/lib/libORBit-2.so -lpthread -ldl /usr/lib/libpopt.so
+/opt/gnome2/lib/liblinc.so -lpthread /opt/gnome2/lib/libgthread-2.0.so
+-lpthread /opt/gnome2/lib/libglade-2.0.so -lpthread -lz -lm -ldl
+/opt/gnome2/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz -lm
+-lpthread -lz /opt/gnome2/lib/libgdk-x11-2.0.so
+/opt/gnome2/lib/libatk-1.0.so -ldl /opt/gnome2/lib/libgdk_pixbuf-2.0.so
+-ldl -lm -lm /opt/gnome2/lib/libpangoxft-1.0.so
+/opt/gnome2/lib/libpangox-1.0.so /opt/gnome2/lib/libpango-1.0.so -ldl
+/opt/gnome2/lib/libgobject-2.0.so /opt/gnome2/lib/libgmodule-2.0.so -ldl
+-ldl /opt/gnome2/lib/libglib-2.0.so /usr/lib/libiconv.so -Wl,--rpath
+-Wl,/opt/gnome2/lib
+collect2: ld terminated with signal 11 [Segmentation fault], core dumped
+make: *** [gst-player] Error 1
+
+################
+
+now, just to see, i thought i'd do the link manually by removing a whole
+load of -lpthread calls (a bunch of -pthread ones still exist)... the
+result was a good link, and a binary created. :-D
+
+now i know this is not your fault, since you get the link calls from
+pkg-config, but as a workaround; is there any way you could `sed` -lpthread
+out of the Makefiles, and change it into -pthread?
+
+i am running
+for A in `grep -lre '-lpthread' *`
+do
+ cp $A /tmp/gst.tmp
+ sed -e 's:-lpthread:-pthread:g' /tmp/gst.tmp > $A
+ rm -f /tmp/gst.tmp
+done
+
+after the configure script runs, as a workaround.
+
+if anyone knows more about this, would they maybe like to report this as a
+gcc or ld bug? (my bet is with ld)
+
+cheers,
+Sam





More information about the Gstreamer-bugs mailing list