Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] x86.c:(.text+0xb2): undefined reference to `l1tf_vmx_mitigation' with linux kernel 4.18.1
Date: Fri, 17 Aug 2018 03:16:04
Message-Id: 20180817031542.xsrem2yee3yhfy4h@solfire
1 Hi,
2
3 CPU bugs seem to be more and more common:
4 https://www.heise.de/security/meldung/Linux-Kernel-und-Distributionen-schuetzen-vor-Prozessorluecke-Foreshadow-L1TF-4137264.html
5 https://www.heise.de/security/meldung/Spectre-NG-Foreshadow-gefaehrdet-Intel-Prozessoren-4137209.html
6 (sorry, I only know of this german spoken references...)
7
8 With Linux kernel 4.18.1 Linus has introduced a fix (aka workaround)
9 of the Foreshadow bug.
10
11 Unfortunately compiling that kernel (as downloaded from
12 https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ )
13
14 gives me this bug:
15
16
17 ...
18 AR arch/x86/lib/built-in.a
19 CC virt/lib/irqbypass.o
20 AR virt/lib/built-in.a
21 AR virt/built-in.a
22 GEN .version
23 CHK include/generated/compile.h
24 UPD include/generated/compile.h
25 CC init/version.o
26 AR init/built-in.a
27 AR built-in.a
28 LD vmlinux.o
29 MODPOST vmlinux.o
30 arch/x86/kvm/x86.o: In function `kvm_get_arch_capabilities':
31 x86.c:(.text+0xb2): undefined reference to `l1tf_vmx_mitigation'
32 make[1]: *** [Makefile:1010: vmlinux] Error 1
33 make: *** [Makefile:273: __build_one_by_one] Error 2
34 [1] 25144 exit 2 make clean all
35
36
37 I am alone or is this known (a quick search on startpage.com does not
38 give me any useful) or ... ?
39 Is there a way around it?
40
41 Cheers!
42 Meino

Replies