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 108477 - Compile fails in gst/autoplug
Compile fails in gst/autoplug
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.6.0
Other Solaris
: Normal blocker
: 0.6.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-15 17:31 UTC by Peter O'Shea
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Peter O'Shea 2003-03-15 17:31:52 UTC
Compile on Solaris fails at this step:

/home/poshea/usr/bin/gcc -O3 -mcpu=ultrasparc -I/home/poshea/usr/include
-I/home/poshea/usr/gnome2/include -o .libs/autoplugtest
autoplugtest-autoplugtest.o -threads  -L/home/poshea/usr/gnome2/lib
-L/home/poshea/usr/lib -L/usr/ucblib ../../gst/.libs/libgstreamer-0.6.so
/home/poshea/usr/lib/libxml2.so -lz -lm -lsocket -lnsl
/home/poshea/usr/gnome2/lib/libgobject-2.0.so
/home/poshea/usr/gnome2/lib/libgthread-2.0.so
/home/poshea/usr/gnome2/lib/libgmodule-2.0.so -ldl
/home/poshea/usr/gnome2/lib/libglib-2.0.so /home/poshea/usr/lib/libintl.so
-lc /home/poshea/usr/lib/libiconv.so /home/poshea/usr/lib/libpopt.so
-R/home/poshea/usr/gnome2/lib -R/home/poshea/usr/lib -R/usr/ucblib
Undefined                       first referenced
 symbol                             in file
___atomic_add                       ../../gst/.libs/libgstreamer-0.6.so
___atomic_sub                       ../../gst/.libs/libgstreamer-0.6.so
ld: fatal: Symbol referencing errors. No output written to .libs/autoplugtest
collect2: ld returned 1 exit status
gmake[4]: *** [autoplugtest] Error 1
gmake[4]: Leaving directory
`/home/poshea/usr/source/gnome2/gstreamer-0.6.0/gst/autoplug'
Comment 1 Benjamin Otte (Company) 2003-03-19 15:40:55 UTC
This is a known bug and will be fixed in 0.6.1 if we we don't screw 
up our Solaris testing. I'm currently not finding the bug it's a 
duplicate of but that should be in here.

If you want to get around it, disable the sparc optimizations in 
gst/gstatomic_impl.h
Comment 2 Ronald Bultje 2003-04-07 17:14:48 UTC
sparc optimizations have been marked with #if 0, so this bug shouldn't
appear in 0.6.1.