GNOME Bugzilla – Bug 106206
[Solaris] gstmemchunk.lo fails to assemble
Last modified: 2009-08-15 18:40:50 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
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.
Erik, what's the status on this ?
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).
highlander, ping