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 106206 - [Solaris] gstmemchunk.lo fails to assemble
[Solaris] gstmemchunk.lo fails to assemble
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.6.0
Other Solaris
: High blocker
: 0.6.x
Assigned To: David Schleef
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-15 23:40 UTC by the_h1ghlander
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description the_h1ghlander 2003-02-15 23:40:54 UTC
Solaris 9/X86, gcc-3.2.1, sun's assembler and linker

I'm seeing this error trying to build Gstreamer-0.6.0

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/garnome/include
-I/usr/openwin/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/garnome/include/libxml2 -threads -I/opt/garnome/include/glib-2.0
-I/opt/garnome/lib/glib-2.0/include -I.. -DGST_DISABLE_DEPRECATED -g
-I../libs -I../include -DG_LOG_DOMAIN=g_log_domain_gstreamer
-DGST_CACHE_DIR=\"/opt/garnome/var/cache/gstreamer-0.6\" -O2 -g -c
gstmemchunk.c -MT libgstreamer_0.6_la-gstmemchunk.lo -MD -MP -MF
.deps/libgstreamer_0.6_la-gstmemchunk.TPlo  -fPIC -DPIC -o
libgstreamer_0.6_la-gstmemchunk.lo
Assembler: gstmemchunk.c
	"/var/tmp//ccBapcVE.s", line 1569 : Syntax error
	"/var/tmp//ccBapcVE.s", line 1570 : Syntax error
	"/var/tmp//ccBapcVE.s", line 1575 : Syntax error
	"/var/tmp//ccBapcVE.s", line 1576 : Syntax error
make[8]: *** [libgstreamer_0.6_la-gstmemchunk.lo] Error 1
make[8]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gstreamer/gstreamer/work/main.d/gstreamer-0.6.0/gst'
make[7]: *** [all-recursive] Error 1
Comment 1 Erik Walthinsen 2003-02-24 22:33:04 UTC
This is caused by using GCC inline asm with a Sun compiler.  We will
be moving atomic operations out to libatomic (see codecs.org) soon,
which will allow us to sanely implement specific variants for each
compiler and architecture.
Comment 2 Thomas Vander Stichele 2003-05-11 17:45:36 UTC
Erik, what's the status on this ?
Comment 3 David Schleef 2003-05-13 04:15:42 UTC
I don't think gstatomic_impl.h is the problem.

Could you re-test this with either 0.6.1 or (preferably) 0.6.x CVS? 
If the build failure still happens, run

  make CFLAGS="-save-temps"

This should generate the file gstmemchunk.s.  Please attach that file
along with the new errors (since the line numbers will be different).
Comment 4 Thomas Vander Stichele 2003-12-16 12:54:25 UTC
highlander, ping