Bug 209285

Summary: compilation fails
Product: Virtualization Reporter: Attila Jecs (attila.jecs)
Component: kvmAssignee: virtualization_kvm
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: haiwei-li
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.9-rc6 Subsystem:
Regression: No Bisected commit-id:
Attachments: .config made by make oldconfig
working rc4 config before make oldconfig

Description Attila Jecs 2020-09-16 06:38:31 UTC
Created attachment 292515 [details]
.config made by make oldconfig

CC      arch/x86/kernel/kvm.o
arch/x86/kernel/kvm.c: In function ‘kvm_alloc_cpumask’:
arch/x86/kernel/kvm.c:800:35: error: ‘kvm_send_ipi_mask_allbutself’ undeclared (first use in this function)
  800 |  apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself;
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/kvm.c:800:35: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [scripts/Makefile.build:283: arch/x86/kernel/kvm.o] Error 1
make[4]: *** [scripts/Makefile.build:500: arch/x86/kernel] Error 2
make[3]: *** [Makefile:1784: arch/x86] Error 2
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1523: bindeb-pkg] Error 2
Comment 1 Attila Jecs 2020-09-17 12:44:45 UTC
Created attachment 292525 [details]
working rc4 config before make oldconfig
Comment 2 Attila Jecs 2020-09-21 07:32:52 UTC
same with rc6:

  CC      arch/x86/kernel/kvm.o
arch/x86/kernel/kvm.c: In function ‘kvm_alloc_cpumask’:
arch/x86/kernel/kvm.c:800:35: error: ‘kvm_send_ipi_mask_allbutself’ undeclared (first use in this function)
  800 |  apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself;
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/kvm.c:800:35: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [scripts/Makefile.build:283: arch/x86/kernel/kvm.o] Error 1
make[4]: *** [scripts/Makefile.build:500: arch/x86/kernel] Error 2
make[3]: *** [Makefile:1784: arch/x86] Error 2
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1523: bindeb-pkg] Error 2
Comment 4 Attila Jecs 2020-09-21 08:15:36 UTC
okay, thanks