Failed to build kvm-unit-test

Bug #1782120 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

The newly added rdpid test [1] is breaking the build.

x86/tsc.c: In function ‘test_rdpid’:
x86/tsc.c:40:34: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long unsigned int’} [-Werror=format=]
        report("Test rdpid %%eax %d", eax == aux, aux);
                                 ~^ ~~~
                                 %ld

Issue has been reported upstream, and being worked on [2].

[1] https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/commit/?id=10631a5bebd8bafe87646b73afd24125cb77abef
[2] https://www.spinics.net/lists/kvm/msg171832.html

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.