Unable to build kvm-unit-test on i386 systesm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello folks,

The latest kvm-unit-test will fail to build on i386 systems, with the
error message:

      gcc -m32 -O1 -g -MMD -MF lib/x86/.usermode.d -Wall
-Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized
-Wignored-qualifiers -Wunused-but-set-parameter -Werror
-fno-omit-frame-pointer -Wno-frame-address -fno-pic -no-pie
-Wmissing-parameter-type -Wold-style-declaration -Woverride-init
-ffreestanding -I
/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/lib
-I lib -c -o lib/x86/usermode.o lib/x86/usermode.c
      <builtin>: recipe for target 'lib/x86/usermode.o' failed
      stderr:
      lib/x86/usermode.c: In function ‘run_in_user’:
      lib/x86/usermode.c:49:2: error: inconsistent operand constraints
in an ‘asm’
        asm volatile (
        ^~~
      make: *** [lib/x86/usermode.o] Error 1

A bisect shows the cause is the newly added usermode.c in commit
1c93387eecbe, just like the compiler complained here.

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1765366



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux