<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - src/gallium/auxiliary/os/os_time.c:77: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57866">57866</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jfonseca@vmware.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>src/gallium/auxiliary/os/os_time.c:77: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: bdba4b30de15c4e7e6546f7eda37932d281f869c (master)

The SCons build on Mac OS X is now failing.

$ scons
  Compiling src/gallium/auxiliary/os/os_time.c ...
src/gallium/auxiliary/os/os_time.c: In function ‘os_time_get_nano’:
src/gallium/auxiliary/os/os_time.c:77: warning: implicit declaration of
function ‘clock_gettime’
src/gallium/auxiliary/os/os_time.c:77: error: ‘CLOCK_REALTIME’ undeclared
(first use in this function)
src/gallium/auxiliary/os/os_time.c:77: error: (Each undeclared identifier is
reported only once
src/gallium/auxiliary/os/os_time.c:77: error: for each function it appears in.)


16f0d70ffe6d42d22b9e6b927b297e75a199aa78 is the first bad commit
commit 16f0d70ffe6d42d22b9e6b927b297e75a199aa78
Author: James Benton <<a href="mailto:jbenton@vmware.com">jbenton@vmware.com</a>>
Date:   Mon Dec 3 07:00:37 2012 +0000

    llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

    This required an update for the query storage in llvmpipe, there
    can now be an active query per query type, so an occlusion query
    can run at the same time as a time elapsed query.

    Based on PIPE_QUERY_TIME_ELAPSED patch from Dave Airlie.

    v2: fix up piglits for timers (also from Dave Airlie)

    a) if we don't render anything the result is 0, so just
    return the current time

    b) add missing screen get_timestamp callback.

    Signed-off-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>
    Signed-off-by: José Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>>

:040000 040000 dd23bb4dce38136b225871f7d9e45735ba288f8b
c67764b6789feb066882d829e66e16b7f3b7b552 M    src
bisect run success</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>