The recent binutils update in HEAD has broken compiling gstreamer-ffmpeg: --------------------------------------------------- CCLD libgstffmpeg.la *** Warning: Linking the shared library libgstffmpeg.la against the *** static library ../../gst-libs/ext/ffmpeg/libavformat/libavformat.a is not portable! *** Warning: Linking the shared library libgstffmpeg.la against the *** static library ../../gst-libs/ext/ffmpeg/libavcodec/libavcodec.a is not portable! *** Warning: Linking the shared library libgstffmpeg.la against the *** static library ../../gst-libs/ext/ffmpeg/libavutil/libavutil.a is not portable! /usr/bin/ld: ../../gst-libs/ext/ffmpeg/libavcodec/libavcodec.a(dsputil_mmx.o): relocation R_X86_64_PC32 against `ff_pw_20' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value gmake[3]: *** [libgstffmpeg.la] Error 1 gmake[3]: Leaving directory `/ramfs/build.29577/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.11/ext/ffmpeg' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/ramfs/build.29577/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.11/ext' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/ramfs/build.29577/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.11' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/gstreamer-ffmpeg. Fix: Adding "-Wl,-Bsymbolic" to the ports LDFLAGS seems to correct the issue, although there may be other ways to solve as well. How-To-Repeat: Just build multimedia/gstreamer-ffmpeg on a recent version of HEAD with the newer binutils
Responsible Changed From-To: freebsd-ports-bugs->freebsd-multimedia Over to maintainer (via the GNATS Auto Assign Tool)
kwm 2011-03-20 10:24:56 UTC FreeBSD ports repository Modified files: multimedia/gstreamer-ffmpeg Makefile Log: Fix build on -current with updated binutils. This is quite the hammer approuch, but since I haven't found a nicer way this will have to do. PR: ports/155686 Submitted by: Kris Moore <kris@pcbsd.org> Revision Changes Path 1.39 +1 -1 ports/multimedia/gstreamer-ffmpeg/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed thanks!