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@lists.freedesktop.org
Reporter: clayton.a.cr...@intel.com
QA Contact: piglit@lists.freedesktop.org
CC: ja...@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.
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit