ports/155686: multimedia/gstreamer-ffmpeg fails to build on HEAD with latest binutils
Kris Moore
kris at pcbsd.org
Sat Mar 19 03:50:10 UTC 2011
>Number: 155686
>Category: ports
>Synopsis: multimedia/gstreamer-ffmpeg fails to build on HEAD with latest binutils
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 19 03:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Kris Moore
>Release: 9.0-CURRENT
>Organization:
PC-BSD / iXsystems
>Environment:
9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sun Mar 6 08:32:55 PST 2011
>Description:
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.
>How-To-Repeat:
Just build multimedia/gstreamer-ffmpeg on a recent version of HEAD with the newer binutils
>Fix:
Adding "-Wl,-Bsymbolic" to the ports LDFLAGS seems to correct the issue, although there may be other ways to solve as well.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list