[Bug 747954] New: osx: fix libcheck and "make check" builds with clang

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 15 15:12:50 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747954

            Bug ID: 747954
           Summary: osx: fix libcheck and "make check" builds with clang
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

clang has -pthread option but it's only valid for the compiler. It should not
be passed to the linker.

Currently libcheckinternal.la contains "inherited_linker_flags='-pthread'"
which make fail anything linking with with libgstcheck-1.0 when using -Werror.
This is the case for "make check" builds:

"error: argument unused during compilation: '-pthread'"

(libcheck itself does not fail to build because it does not set -Werror so the
error is just a warning in that case)

$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

-- 
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