[Bug 759713] New: -Bsymbolic configure check doesn't work on FreeBSD.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Dec 20 15:57:46 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759713
Bug ID: 759713
Summary: -Bsymbolic configure check doesn't work on FreeBSD.
Classification: Platform
Product: GStreamer
Version: git master
OS: FreeBSD
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kwm at FreeBSD.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 317713
--> https://bugzilla.gnome.org/attachment.cgi?id=317713&action=edit
Update -Bysymbolic check with the glib version
The current test for -Bsymbolic in configure doesn't work on FreeBSD. Our
default compiler is clang. I checked that with the patch the check works with
both gcc and clang.
A quick check showed that the following projects also use this code,
gst-plugins-base, gst-rtsp-server and orc. So this patch should be applied too.
I think I check all the gstreamer projects, but a double check would be great.
--------------
checking for -Bsymbolic-functions linker flag... no
configure:26401: checking for -Bsymbolic-functions linker flag
configure:26415: cc -o conftest -O2 -pipe -O2 -Wno-format -fstack-protector
-fno-strict-aliasing -I/usr/local/include -Wl,-Bsymbolic-functions conftest.c
>&5
conftest.c:92:17: error: function definition is not allowed here
int main (void) { return 0; }
^
1 error generated.
configure:26415: $? = 1
configure: failed program
--------------
--
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