<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 - Crucible build fails on m32 architecture"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104149">104149</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crucible build fails on m32 architecture
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>piglit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Crucible
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>clayton.a.craft@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Format specifier is for %lu but it is being passed a uint64_t, causing the
compiler to complain when building crucible for m32 targets:


16:27:50 src/framework/test/t_phase_setup.c: In function ‘debug_cb’:
16:27:50 src/framework/test/t_phase_setup.c:312:24: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka
long long unsigned int}’ [-Werror=format=]
16:27:50          logi("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                         ^
16:27:50 src/framework/test/t_phase_setup.c:312:47: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka
unsigned int}’ [-Werror=format=]
16:27:50          logi("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                                                ^
16:27:50 src/framework/test/t_phase_setup.c:316:24: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka
long long unsigned int}’ [-Werror=format=]
16:27:50          logw("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                         ^
16:27:50 src/framework/test/t_phase_setup.c:316:47: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka
unsigned int}’ [-Werror=format=]
16:27:50          logw("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                                                ^
16:27:50 src/framework/test/t_phase_setup.c:320:24: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka
long long unsigned int}’ [-Werror=format=]
16:27:50          logw("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                         ^
16:27:50 src/framework/test/t_phase_setup.c:320:47: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka
unsigned int}’ [-Werror=format=]
16:27:50          logw("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                                                ^
16:27:50 src/framework/test/t_phase_setup.c:324:24: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka
long long unsigned int}’ [-Werror=format=]
16:27:50          loge("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                         ^
16:27:50 src/framework/test/t_phase_setup.c:324:47: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka
unsigned int}’ [-Werror=format=]
16:27:50          loge("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                                                ^
16:27:50 src/framework/test/t_phase_setup.c:330:24: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka
long long unsigned int}’ [-Werror=format=]
16:27:50          logd("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                         ^
16:27:50 src/framework/test/t_phase_setup.c:330:47: error: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka
unsigned int}’ [-Werror=format=]
16:27:50          logd("object %lu type 0x%x location %lu code %u layer \"%s\"
msg %s",
16:27:50                                                ^
16:27:50 cc1: some warnings being treated as errors</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>