Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663768 - sys-kernel/gentoo-sources-4.14.63 fails to build without CONFIG_KVM_INTEL
Summary: sys-kernel/gentoo-sources-4.14.63 fails to build without CONFIG_KVM_INTEL
Status: RESOLVED DUPLICATE of bug 663750
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://lkml.iu.edu/hypermail/linux/ke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-16 10:47 UTC by MickKi
Modified: 2018-08-19 15:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2018-08-16 10:47:08 UTC
gentoo-sources-4.14.63 errors out when is configured with CONFIG_KVM_AMD set and CONFIG_KVM_INTEL unset:

  AS      arch/x86/lib/memset_64.o                                               
  CC      arch/x86/lib/misc.o                                                    
  AS      arch/x86/lib/putuser.o                                                 
  AS      arch/x86/lib/retpoline.o                                               
  AS      arch/x86/lib/rwsem.o                                                   
  CC      arch/x86/lib/usercopy.o                                                
  CC      arch/x86/lib/usercopy_64.o                                             
  AR      arch/x86/lib/lib.a                                                     
  EXPORTS arch/x86/lib/lib-ksyms.o                                               
  AR      arch/x86/lib/built-in.o                                                
  CC      virt/lib/irqbypass.o                                                   
  AR      virt/lib/built-in.o                                                    
  AR      virt/built-in.o                                                        
  GEN     .version                                                               
  CHK     include/generated/compile.h                                            
  UPD     include/generated/compile.h                                            
  CC      init/version.o                                                         
  AR      init/built-in.o                                                        
  AR      built-in.o                                                             
  LD      vmlinux.o                                                              
  MODPOST vmlinux.o                                                              
arch/x86/kvm/x86.o: In function `kvm_get_arch_capabilities':                     
x86.c:(.text+0x3af2): undefined reference to `l1tf_vmx_mitigation'
make: *** [Makefile:1016: vmlinux] Error 1                       

Reproducible: Always

Steps to Reproduce:
1. Enable CONFIG_KVM_AMD
2. Disable CONFIG_KVM_INTEL
3. make && make modules_install



A patch has been provided as per URL above.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-08-19 15:03:09 UTC

*** This bug has been marked as a duplicate of bug 663750 ***