[Piglit] [Bug 104149] New: Crucible build fails on m32 architecture

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 7 02:46:45 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104149

            Bug ID: 104149
           Summary: Crucible build fails on m32 architecture
           Product: piglit
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Crucible
          Assignee: piglit at lists.freedesktop.org
          Reporter: clayton.a.craft at intel.com
        QA Contact: piglit at lists.freedesktop.org
                CC: jason at jlekstrand.net

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20171207/fa871c5e/attachment.html>


More information about the Piglit mailing list