[Bug 791783] New: Fail to build on FreeBSD because of missing -Wl,-Bsymbolic
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 19 13:24:19 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=791783
Bug ID: 791783
Summary: Fail to build on FreeBSD because of missing
-Wl,-Bsymbolic
Classification: Platform
Product: GStreamer
Version: git master
OS: FreeBSD
Status: NEW
Severity: normal
Priority: Normal
Component: gst-libav
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lantw44 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Both ffmpeg and libav say that -Wl,-Bsymbolic should be used when linking a
static ffmpeg or libav library into a shared library.
https://libav.org/documentation/platform.html
However, gst-libav doesn't pass -Wl,-Bsymbolic to linker, and it causes linking
failure on FreeBSD.
CCLD libgstlibav.la
/usr/bin/ld:
/home/lantw44/gnome/build/gst-libav/gst-libs/ext/.libs/libavcodec.a(simple_idct10.o):
relocation R_X86_64_PC32 against `ff_pw_1023' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
If I put -Wl,-Bsymbolic in LDFLAGS, gst-libav can be successfully built.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list