[Bug 747954] osx: fix libcheck and "make check" builds with clang
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 17 14:31:35 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747954
--- Comment #12 from Julien Isorce <julien.isorce at gmail.com> ---
I had another try and my conclusion is that this is not a libtool/autotools
issue.
It looks like to be a clang issue because clang behaves differently between
linux and darwin. Indeed on linux the -pthread option is never forwarded to the
linker. clang does not filter -pthread on darwin at link time.
Then looking at clang bug tracker it seems it has been reported in 2010:
https://llvm.org/bugs/show_bug.cgi?id=7798
I have added steps to reproduce the problem (add -v to clang to actually see ld
invocation)
Also I have added a link to the driver file that needs to be patched.
But in order to support all clang versions on darwin I suggest we add
everywhere -Qunused-arguments to LDFLAGS when compiling gstreamer on darwin.
(The difference with -Wno-error=unused-command-line-argument is that it turns
it back to a warning whereas -Qunused-arguments make it invisible)
--
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