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

bugzilla at libav.org bugzilla at libav.org
Sun Feb 26 16:25:32 CET 2017


            Bug ID: 1033
           Summary: Symbol not found: _clock_gettime with Xcode 8 on OS X
                    10.11 El Capitan
           Product: Libav
           Version: 12
          Hardware: X86
                OS: Mac OS
            Status: NEW
          Severity: major
          Priority: ---
         Component: general
          Assignee: bugzilla at libav.org
          Reporter: william at yossarian.net

Hi all,

The Homebrew project has been unable to build Libav 12 for distribution due to
this bug. You can see our original PR here:


Tested with Libav 12 but probably affects all versions that use clock_gettime.

Xcode 7 and above supply a single SDK for building and define clock_gettime,
despite not being implemented on 10.11 and below. As such, clock_gettime gets
exposed as a weak import, causing builds to succeed but runs to fail upon lazy
symbol resolution.

The bug manifests here:


and here:


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/20170226/3f5774f9/attachment.html>

More information about the libav-bugs mailing list