<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107538">107538</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>IGT
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>casey.g.bowman@intel.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While cross-compiling the 'igt-gpu-tools-1.23' tag in the ChromeOS environment,
which uses Clang, I observed the following error:

tests/gem_userptr_blits.c:1092:10: error: implicit declaration of function
'memfd_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        memfd = memfd_create("pages", 0);

This issue is resolved by the following commit (20 commits after tag):

bcb37a9 build: provide stub implementation for memfd_create</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>