[Bug 759713] -Bsymbolic configure check doesn't work on FreeBSD.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Dec 27 04:29:13 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759713
Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |ensonic at sonicpulse.de
Resolution|FIXED |---
--- Comment #3 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Accoding to
http://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Quotation-Rule-Of-Thumb.html
AC_TRY_LINK is obsolete and we should keep using AC_LINK_IFELSE. E.g.
AC_ARG_ENABLE(Bsymbolic,
[AS_HELP_STRING([--disable-Bsymbolic],
[avoid linking with -Bsymbolic])],,
[SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
LDFLAGS=-Wl,-Bsymbolic-functions
LIBS=
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[
AC_MSG_RESULT(yes)
enable_Bsymbolic=yes], [
AC_MSG_RESULT(no)
enable_Bsymbolic=no])
LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"])
Could you show the whole generated conftest.c?
I've tried CC=clang ./autogen.sh ... and I don't see any issue.
--
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