Bug 58872 - Mac OS X configure: error: Couldn't find clock_gettime
Mac OS X configure: error: Couldn't find clock_gettime
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Other
git
x86-64 (AMD64) Mac OS X (All)
: medium blocker
Assigned To: mesa-dev
: regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-29 23:27 UTC by Vinson Lee
Modified: 2013-02-09 23:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vinson Lee 2012-12-29 23:27:35 UTC
mesa: 66ea6e8ec3f7ee44e0011b1dd563fef76ead8bc5 (master)

Run autogen.sh on Mac OS X.

checking for clock_gettime... no
checking for clock_gettime in -lrt... no
configure: error: Couldn't find clock_gettime


ec83535c83c748b067ecf4548e5396fef8719725 is the first bad commit
commit ec83535c83c748b067ecf4548e5396fef8719725
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Dec 4 09:25:13 2012 +1000

    automake/gallium: attempt to fix -lrt
    
    fix non-automake bits in pipe-load to.
    
    Should fix:
    http://bugs.freedesktop.org/57852
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 bfedc7b04dfb7297aae1b3aa6e20f03fcfb87b16 8680099b34d029e59573998437887ac0d28465ee M	configs
:100644 100644 803c2564942db208bc330db823d605bb44e3e287 a133902c69fe327c5a46c0e037878e63fe4b5d9b M	configure.ac
:040000 040000 43fcb4af620d8cdf030e2a2e91d95b3bd8b9bfc6 2516938b50b01e57b07561c913ff734117d16f47 M	src
bisect run success
Comment 1 Vinson Lee 2013-02-09 23:24:31 UTC
Fixed by commit 990bd49fba7d539e950bdda6eb9819a9abf14850.