[libav-bugs] [Bug 1033] Symbol not found: _clock_gettime with Xcode 8 on OS X 10.11 El Capitan

bugzilla at libav.org bugzilla at libav.org
Mon Mar 6 21:55:08 CET 2017


https://bugzilla.libav.org/show_bug.cgi?id=1033

Martin Storsjö <martin at martin.st> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin at martin.st

--- Comment #6 from Martin Storsjö <martin at martin.st> ---
So far, I've worked around this issue by adding extra configure parameters like
this:

https://fate.libav.org/x86_64-apple-darwin-clang-8.0/20170301082919

I.e. I've added --extra-cflags='-mmacosx-version-min=10.11
-Werror=partial-availability', which enables warnings (and makes them errors)
for referencing functions that aren't available in the baseline macos version,
and signalling that I'm targeting 10.11. This fix is pretty hard to upstream
though, since it kinda depends on the caller actually specifying the desired
minimum macos version.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20170306/e8b412a9/attachment-0001.html>


More information about the libav-bugs mailing list