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 437685 - Build error gst-ffmpeg on mac intel
Build error gst-ffmpeg on mac intel
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.2
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-11 13:42 UTC by kasturi
Modified: 2008-05-06 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kasturi 2007-05-11 13:42:05 UTC
Please describe the problem:
Make fails:getting this error


/usr/bin/grep -E -e "^_*gst_plugin_desc$" ".libs/libgstffmpeg.exp" > ".libs/libgstffmpeg.expT"
mv -f ".libs/libgstffmpeg.expT" ".libs/libgstffmpeg.exp"
rm -fr .libs/libgstffmpeg.lax
mkdir .libs/libgstffmpeg.lax
rm -fr .libs/libgstffmpeg.lax/libavformat.a
mkdir .libs/libgstffmpeg.lax/libavformat.a
Extracting /Volumes/Leopard4/gstreamer/gst-ffmpeg-0.10.2/ext/ffmpeg/../../gst-libs/ext/ffmpeg/libavformat/.libs/libavformat.a
(cd .libs/libgstffmpeg.lax/libavformat.a && ar x /Volumes/Leopard4/gstreamer/gst-ffmpeg-0.10.2/ext/ffmpeg/../../gst-libs/ext/ffmpeg/libavformat/.libs/libavformat.a)
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < .libs/libgstffmpeg.exp > .libs/libgstffmpeg-symbols.expsym
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgstffmpeg.so -bundle  .libs/libgstffmpeg_la-gstffmpeg.o .libs/libgstffmpeg_la-gstffmpegprotocol.o .libs/libgstffmpeg_la-gstffmpegcodecmap.o .libs/libgstffmpeg_la-gstffmpegenc.o .libs/libgstffmpeg_la-gstffmpegdec.o .libs/libgstffmpeg_la-gstffmpegcfg.o .libs/libgstffmpeg_la-gstffmpegdemux.o .libs/libgstffmpeg_la-gstffmpegmux.o .libs/libgstffmpeg_la-gstffmpegdeinterlace.o .libs/libgstffmpeg_la-gstffmpegscale.o  .libs/libgstffmpeg.lax/libavformat.a/4xm.o .libs/libgstffmpeg.lax/libavformat.a/8bps.o .libs/libgstffmpeg.lax/libavformat.a/aasc.o .libs/libgstffmpeg.lax/libavformat.a/ac3enc.o .libs/libgstffmpeg.lax/libavformat.a/adler32.o .libs/libgstffmpeg.lax/libavformat.a/adpcm.o .libs/libgstffmpeg.lax/libavformat.a/adtsenc.o .libs/libgstffmpeg.lax/libavformat.a/adx.o .libs/libgstffmpeg.lax/libavformat.a/aiff.o .libs/libgstffmpeg.lax/libavformat.a/alac.o .libs/libgstffmpeg.lax/libavformat.a/allcodecs.o .libs/libgstffmpeg.lax/libavformat.a/allformats.o .libs/libgstffmpeg.lax/libavformat.a/amr.o .libs/libgstffmpeg.lax/libavformat.a/asf-enc.o .libs/libgstffmpeg.lax/libavformat.a/asf.o .libs/libgstffmpeg.lax/libavformat.a/asv1.o .libs/libgstffmpeg.lax/libavformat.a/au.o .libs/libgstffmpeg.lax/libavformat.a/avidec.o .libs/libgstffmpeg.lax/libavformat.a/avienc.o .libs/libgstffmpeg.lax/libavformat.a/avio.o .libs/libgstffmpeg.lax/libavformat.a/aviobuf.o .libs/libgstffmpeg.lax/libavformat.a/avs.o .libs/libgstffmpeg.lax/libavformat.a/bitstream.o .libs/libgstffmpeg.lax/libavformat.a/bitstream_filter.o .libs/libgstffmpeg.lax/libavformat.a/bmp.o .libs/libgstffmpeg.lax/libavformat.a/cabac.o .libs/libgstffmpeg.lax/libavformat.a/cavs.o .libs/libgstffmpeg.lax/libavformat.a/cavsdsp.o .libs/libgstffmpeg.lax/libavformat.a/cinepak.o .libs/libgstffmpeg.lax/libavformat.a/cljr.o .libs/libgstffmpeg.lax/libavformat.a/cook.o .libs/libgstffmpeg.lax/libavformat.a/crc.o .libs/libgstffmpeg.lax/libavformat.a/cscd.o .libs/libgstffmpeg.lax/libavformat.a/cutils.o .libs/libgstffmpeg.lax/libavformat.a/cyuv.o .libs/libgstffmpeg.lax/libavformat.a/daud.o .libs/libgstffmpeg.lax/libavformat.a/dpcm.o .libs/libgstffmpeg.lax/libavformat.a/dsputil.o .libs/libgstffmpeg.lax/libavformat.a/dv.o .libs/libgstffmpeg.lax/libavformat.a/dvbsub.o .libs/libgstffmpeg.lax/libavformat.a/dvbsubdec.o .libs/libgstffmpeg.lax/libavformat.a/dvdsub.o .libs/libgstffmpeg.lax/libavformat.a/dvdsubenc.o .libs/libgstffmpeg.lax/libavformat.a/dvenc.o .libs/libgstffmpeg.lax/libavformat.a/electronicarts.o .libs/libgstffmpeg.lax/libavformat.a/error_resilience.o .libs/libgstffmpeg.lax/libavformat.a/eval.o .libs/libgstffmpeg.lax/libavformat.a/faandct.o .libs/libgstffmpeg.lax/libavformat.a/ffm.o .libs/libgstffmpeg.lax/libavformat.a/fft.o .libs/libgstffmpeg.lax/libavformat.a/ffv1.o .libs/libgstffmpeg.lax/libavformat.a/fifo.o .libs/libgstffmpeg.lax/libavformat.a/file.o .libs/libgstffmpeg.lax/libavformat.a/flac.o .libs/libgstffmpeg.lax/libavformat.a/flacenc.o .libs/libgstffmpeg.lax/libavformat.a/flashsv.o .libs/libgstffmpeg.lax/libavformat.a/flic.o .libs/libgstffmpeg.lax/libavformat.a/flicvideo.o .libs/libgstffmpeg.lax/libavformat.a/flvdec.o .libs/libgstffmpeg.lax/libavformat.a/flvenc.o .libs/libgstffmpeg.lax/libavformat.a/framehook.o .libs/libgstffmpeg.lax/libavformat.a/fraps.o .libs/libgstffmpeg.lax/libavformat.a/g726.o .libs/libgstffmpeg.lax/libavformat.a/gif.o .libs/libgstffmpeg.lax/libavformat.a/gifdec.o .libs/libgstffmpeg.lax/libavformat.a/golomb.o .libs/libgstffmpeg.lax/libavformat.a/gxf.o .libs/libgstffmpeg.lax/libavformat.a/gxfenc.o .libs/libgstffmpeg.lax/libavformat.a/h261.o .libs/libgstffmpeg.lax/libavformat.a/h263.o .libs/libgstffmpeg.lax/libavformat.a/h263dec.o .libs/libgstffmpeg.lax/libavformat.a/h264.o .libs/libgstffmpeg.lax/libavformat.a/h264idct.o .libs/libgstffmpeg.lax/libavformat.a/http.o .libs/libgstffmpeg.lax/libavformat.a/huffyuv.o .libs/libgstffmpeg.lax/libavformat.a/idcin.o .libs/libgstffmpeg.lax/libavformat.a/idcinvideo.o .libs/libgstffmpeg.lax/libavformat.a/idroq.o .libs/libgstffmpeg.lax/libavformat.a/img.o .libs/libgstffmpeg.lax/libavformat.a/img2.o .libs/libgstffmpeg.lax/libavformat.a/imgconvert.o .libs/libgstffmpeg.lax/libavformat.a/imgresample.o .libs/libgstffmpeg.lax/libavformat.a/indeo2.o .libs/libgstffmpeg.lax/libavformat.a/indeo3.o .libs/libgstffmpeg.lax/libavformat.a/integer.o .libs/libgstffmpeg.lax/libavformat.a/interplayvideo.o .libs/libgstffmpeg.lax/libavformat.a/intfloat_readwrite.o .libs/libgstffmpeg.lax/libavformat.a/ipmovie.o .libs/libgstffmpeg.lax/libavformat.a/isom.o .libs/libgstffmpeg.lax/libavformat.a/jfdctfst.o .libs/libgstffmpeg.lax/libavformat.a/jfdctint.o .libs/libgstffmpeg.lax/libavformat.a/jpeg.o .libs/libgstffmpeg.lax/libavformat.a/jrevdct.o .libs/libgstffmpeg.lax/libavformat.a/kmvc.o .libs/libgstffmpeg.lax/libavformat.a/lcl.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-cavsdsp_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-cputest.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-dsputil_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-fdct_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-fft_3dn.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-fft_3dn2.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-fft_sse.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-idct_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-idct_mmx_xvid.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-motion_est_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-mpegvideo_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-simple_idct_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-vp3dsp_mmx.o .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-vp3dsp_sse2.o .libs/libgstffmpeg.lax/libavformat.a/lls.o .libs/libgstffmpeg.lax/libavformat.a/loco.o .libs/libgstffmpeg.lax/libavformat.a/log.o .libs/libgstffmpeg.lax/libavformat.a/lt1-4xm.o .libs/libgstffmpeg.lax/libavformat.a/lt10-tta.o .libs/libgstffmpeg.lax/libavformat.a/lt11-utils.o .libs/libgstffmpeg.lax/libavformat.a/lt2-avs.o .libs/libgstffmpeg.lax/libavformat.a/lt3-crc.o .libs/libgstffmpeg.lax/libavformat.a/lt4-dv.o .libs/libgstffmpeg.lax/libavformat.a/lt5-nuv.o .libs/libgstffmpeg.lax/libavformat.a/lt6-png.o .libs/libgstffmpeg.lax/libavformat.a/lt7-pnm.o .libs/libgstffmpeg.lax/libavformat.a/lt8-raw.o .libs/libgstffmpeg.lax/libavformat.a/lt9-smacker.o .libs/libgstffmpeg.lax/libavformat.a/lzo.o .libs/libgstffmpeg.lax/libavformat.a/mace.o .libs/libgstffmpeg.lax/libavformat.a/mathematics.o .libs/libgstffmpeg.lax/libavformat.a/matroska.o .libs/libgstffmpeg.lax/libavformat.a/md5.o .libs/libgstffmpeg.lax/libavformat.a/mdct.o .libs/libgstffmpeg.lax/libavformat.a/mem.o .libs/libgstffmpeg.lax/libavformat.a/mjpeg.o .libs/libgstffmpeg.lax/libavformat.a/mm.o .libs/libgstffmpeg.lax/libavformat.a/mmf.o .libs/libgstffmpeg.lax/libavformat.a/mmvideo.o .libs/libgstffmpeg.lax/libavformat.a/motion_est.o .libs/libgstffmpeg.lax/libavformat.a/mov.o .libs/libgstffmpeg.lax/libavformat.a/movenc.o .libs/libgstffmpeg.lax/libavformat.a/mp3.o .libs/libgstffmpeg.lax/libavformat.a/mpeg.o .libs/libgstffmpeg.lax/libavformat.a/mpeg12.o .libs/libgstffmpeg.lax/libavformat.a/mpegaudio.o .libs/libgstffmpeg.lax/libavformat.a/mpegaudiodec.o .libs/libgstffmpeg.lax/libavformat.a/mpegts.o .libs/libgstffmpeg.lax/libavformat.a/mpegtsenc.o .libs/libgstffmpeg.lax/libavformat.a/mpegvideo.o .libs/libgstffmpeg.lax/libavformat.a/mpjpeg.o .libs/libgstffmpeg.lax/libavformat.a/msmpeg4.o .libs/libgstffmpeg.lax/libavformat.a/msrle.o .libs/libgstffmpeg.lax/libavformat.a/msvideo1.o .libs/libgstffmpeg.lax/libavformat.a/mxf.o .libs/libgstffmpeg.lax/libavformat.a/nsvdec.o .libs/libgstffmpeg.lax/libavformat.a/nut.o .libs/libgstffmpeg.lax/libavformat.a/nuv.o .libs/libgstffmpeg.lax/libavformat.a/ogg2.o .libs/libgstffmpeg.lax/libavformat.a/oggparseflac.o .libs/libgstffmpeg.lax/libavformat.a/oggparseogm.o .libs/libgstffmpeg.lax/libavformat.a/oggparsetheora.o .libs/libgstffmpeg.lax/libavformat.a/oggparsevorbis.o .libs/libgstffmpeg.lax/libavformat.a/opt.o .libs/libgstffmpeg.lax/libavformat.a/os_support.o .libs/libgstffmpeg.lax/libavformat.a/parser.o .libs/libgstffmpeg.lax/libavformat.a/pcm.o .libs/libgstffmpeg.lax/libavformat.a/png.o .libs/libgstffmpeg.lax/libavformat.a/pnm.o .libs/libgstffmpeg.lax/libavformat.a/psxstr.o .libs/libgstffmpeg.lax/libavformat.a/qdm2.o .libs/libgstffmpeg.lax/libavformat.a/qdrw.o .libs/libgstffmpeg.lax/libavformat.a/qpeg.o .libs/libgstffmpeg.lax/libavformat.a/qtrle.o .libs/libgstffmpeg.lax/libavformat.a/ra144.o .libs/libgstffmpeg.lax/libavformat.a/ra288.o .libs/libgstffmpeg.lax/libavformat.a/rangecoder.o .libs/libgstffmpeg.lax/libavformat.a/ratecontrol.o .libs/libgstffmpeg.lax/libavformat.a/rational.o .libs/libgstffmpeg.lax/libavformat.a/raw.o .libs/libgstffmpeg.lax/libavformat.a/resample.o .libs/libgstffmpeg.lax/libavformat.a/resample2.o .libs/libgstffmpeg.lax/libavformat.a/riff.o .libs/libgstffmpeg.lax/libavformat.a/rm.o .libs/libgstffmpeg.lax/libavformat.a/roqvideo.o .libs/libgstffmpeg.lax/libavformat.a/rpza.o .libs/libgstffmpeg.lax/libavformat.a/rtjpeg.o .libs/libgstffmpeg.lax/libavformat.a/rtp.o .libs/libgstffmpeg.lax/libavformat.a/rtpproto.o .libs/libgstffmpeg.lax/libavformat.a/rtsp.o .libs/libgstffmpeg.lax/libavformat.a/rv10.o .libs/libgstffmpeg.lax/libavformat.a/segafilm.o .libs/libgstffmpeg.lax/libavformat.a/sgi.o .libs/libgstffmpeg.lax/libavformat.a/shorten.o .libs/libgstffmpeg.lax/libavformat.a/sierravmd.o .libs/libgstffmpeg.lax/libavformat.a/simple_idct.o .libs/libgstffmpeg.lax/libavformat.a/smacker.o .libs/libgstffmpeg.lax/libavformat.a/smc.o .libs/libgstffmpeg.lax/libavformat.a/snow.o .libs/libgstffmpeg.lax/libavformat.a/softfloat.o .libs/libgstffmpeg.lax/libavformat.a/sol.o .libs/libgstffmpeg.lax/libavformat.a/sonic.o .libs/libgstffmpeg.lax/libavformat.a/svq1.o .libs/libgstffmpeg.lax/libavformat.a/swf.o .libs/libgstffmpeg.lax/libavformat.a/tcp.o .libs/libgstffmpeg.lax/libavformat.a/truemotion1.o .libs/libgstffmpeg.lax/libavformat.a/truemotion2.o .libs/libgstffmpeg.lax/libavformat.a/truespeech.o .libs/libgstffmpeg.lax/libavformat.a/tscc.o .libs/libgstffmpeg.lax/libavformat.a/tta.o .libs/libgstffmpeg.lax/libavformat.a/udp.o .libs/libgstffmpeg.lax/libavformat.a/ulti.o .libs/libgstffmpeg.lax/libavformat.a/utils.o .libs/libgstffmpeg.lax/libavformat.a/vc1.o .libs/libgstffmpeg.lax/libavformat.a/vc1dsp.o .libs/libgstffmpeg.lax/libavformat.a/vcr1.o .libs/libgstffmpeg.lax/libavformat.a/vmdav.o .libs/libgstffmpeg.lax/libavformat.a/vmnc.o .libs/libgstffmpeg.lax/libavformat.a/voc.o .libs/libgstffmpeg.lax/libavformat.a/vorbis.o .libs/libgstffmpeg.lax/libavformat.a/vp3.o .libs/libgstffmpeg.lax/libavformat.a/vp3dsp.o .libs/libgstffmpeg.lax/libavformat.a/vp5.o .libs/libgstffmpeg.lax/libavformat.a/vp56.o .libs/libgstffmpeg.lax/libavformat.a/vp56data.o .libs/libgstffmpeg.lax/libavformat.a/vp6.o .libs/libgstffmpeg.lax/libavformat.a/vqavideo.o .libs/libgstffmpeg.lax/libavformat.a/wav.o .libs/libgstffmpeg.lax/libavformat.a/wc3movie.o .libs/libgstffmpeg.lax/libavformat.a/westwood.o .libs/libgstffmpeg.lax/libavformat.a/wmadec.o .libs/libgstffmpeg.lax/libavformat.a/wnv1.o .libs/libgstffmpeg.lax/libavformat.a/ws-snd1.o .libs/libgstffmpeg.lax/libavformat.a/xan.o .libs/libgstffmpeg.lax/libavformat.a/xl.o .libs/libgstffmpeg.lax/libavformat.a/yuv.o .libs/libgstffmpeg.lax/libavformat.a/yuv4mpeg.o .libs/libgstffmpeg.lax/libavformat.a/zmbv.o   -lz -L/usr/local/lib /usr/local/lib/libgstbase-0.10.dylib /usr/lib/libc.dylib /usr/local/lib/libgstreamer-0.10.dylib /usr/lib/libpthread.dylib /usr/lib/libz.dylib /usr/lib/libm.dylib /usr/local/lib/libgobject-2.0.dylib /usr/local/lib/libgmodule-2.0.dylib /usr/local/lib/libgthread-2.0.dylib /usr/local/lib/libxml2.dylib /usr/local/lib/libglib-2.0.dylib /usr/local/lib/libintl.dylib /usr/lib/libiconv.dylib
/usr/bin/ld: .libs/libgstffmpeg.lax/libavformat.a/libmmxsse_la-dsputil_mmx.o has local relocation entries in non-writable section (__TEXT,__text)
collect2: ld returned 1 exit status
make[3]: *** [libgstffmpeg.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Steps to reproduce:
1. Download the gst-ffmpeg
2. cd gst-libs/ext/ffmpeg
3. ./configure --prefix=/usr/local --enable-maintainer-mode --enable-gtk-doc --disable-v4
4.cd ../../..
5.make

Then make fails


Actual results:
Make Fails

Expected results:
Make successful

Does this happen every time?
Yes

Other information:
Comment 1 David Schleef 2007-05-13 20:10:44 UTC
The offending lines are similar to:

  "pmullw "MANGLE(ff_pw_3)", %%mm5  \n\t" /* -6x2 + 3x3 */\

This code should be loading the constants using a GOT offset.  Or better yet, expanding the constants from a 16-bit literal constant.
Comment 2 kasturi 2007-05-14 06:19:56 UTC
Please specify the actual solution.
Comment 3 David Schleef 2007-05-14 06:41:00 UTC
I don't know the actual solution off the top of my head.  I don't write assembly code in that manner, since I know it's intrinsicly buggy.  I was merely pointing the next person who looks at the bug to the right location and solution, if they happened to have the skills to fix it.  That person may be a future me, even.
Comment 4 Edward Hervey 2007-08-14 14:50:55 UTC
I think this is fixed by using a newer version of libtool/autotool. The ones provided by Apple(r) date from the middle ages.

Also, please try with cvs, I thought I had fixed some of those issues.
Comment 5 Sebastian Dröge (slomo) 2008-05-06 13:07:30 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!