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 123597 - gst-plugins mjpeg.c compile fails for Solaris-8 with gcc-3.3.1
gst-plugins mjpeg.c compile fails for Solaris-8 with gcc-3.3.1
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.8.0
Other Solaris
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-30 23:15 UTC by Jared Jones
Modified: 2005-08-15 01:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File to assist debug of ffmpeg on gcc-3.3.1 (541.12 KB, application/octet-stream)
2003-10-06 14:03 UTC, Jared Jones
Details

Description Jared Jones 2003-09-30 23:15:22 UTC
I am trying to build gst-plugins-0.6.3 on Solaris-8 with gcc-3.3.1 and
get the below errors.

  To build gstreamer-0.6.3 I had to patch from bug 120960 and in
tools/Makefile removed -Wall and -Werror in GST_CFLAGS and LIBGST_CFLAGS.  


  Any suggestions?


gmake[6]: Entering directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs/ext/ffmpeg/ffmpeg/libavcodec'
gcc -O3 -mcpu=ultrasparc -I/home/jjones1/usr/gnome-2.4/include
-I/home/jjones1/usr/include -Wno-error -Wall -g -DHAVE_AV_CONFIG_H -I..
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mjpeg.o mjpeg.c 
/usr/ccs/bin/as: "/var/tmp//ccnRun5p.s", line 9990: error: shift count
negative or too big: 32
gmake[6]: *** [mjpeg.o] Error 1
gmake[6]: Leaving directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs/ext/ffmpeg/ffmpeg/libavcodec'
make[5]: *** [lib] Error 2
make[5]: Leaving directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs/ext/ffmpeg/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs/ext/ffmpeg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jjones1/usr/src/gnome-2.4/gst-plugins-0.6.3'
make: *** [all] Error 2
Comment 1 David Schleef 2003-10-03 18:32:58 UTC
Could you add -save-temps to CFLAGS in
gst-libs/ext/ffmpeg/ffmpeg/libavcodec/Makefile, recompile, and attach
the resulting mjpeg.s?

It's unlikely that we will be able to fix this bug, since we don't
maintain ffmpeg.  However, you can disable ffmpeg by using
--disable-ffmpeg when running configure.

Please also note bug #121184, although it's not directly applicable.
Comment 2 Jared Jones 2003-10-06 14:03:43 UTC
Created attachment 20506 [details]
File to assist debug of ffmpeg on gcc-3.3.1
Comment 3 Jared Jones 2003-10-06 14:50:06 UTC
  When adding -save-temps to CFLAGS in the Makefile, I get the
following output.  Building with --disable-ffmpeg did work around the
problem.

gcc -O3 -mcpu=ultrasparc -I/home/jjones1/usr/gnome-2.4/include
-I/home/jjones1/usr/include -Wall -g -DHAVE_AV_CONFIG_H -I..
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -save-temps
-c -o mjpeg.o mjpeg.c 
/usr/ccs/bin/as: "mjpeg.s", line 9990: error: shift count negative or
too big: 32
make: *** [mjpeg.o] Error 1


Comment 4 alexander.winston 2004-01-29 04:29:19 UTC
Adding the portability keyword.
Comment 5 David Schleef 2004-03-18 20:29:57 UTC
I'm pretty sure this is still a problem in 0.8.0, as I don't remember
anything done to fix it.
Comment 6 Ronald Bultje 2004-03-18 21:47:39 UTC
We updated the ffmpeg snapshot. Please retry. If still a problem, I'll
notify upstream.
Comment 7 Ronald Bultje 2004-04-10 23:29:47 UTC
Ping...
Comment 8 Jared Jones 2004-04-12 14:20:21 UTC
  I have to apologize.  I have been moved to an Intel/Linux box now, I am no
longer using the SPARC/Solaris box.  I will be unable to provide future
information.  Sorry for the inconvenience.