Re: [PATCH] x86: efi: avoid BUILD_BUG_ON() for non-constant p4d_index

From
Borislav Petkov <bp@alien8.de>
Date
2021-01-15 18:24:11
Also in
lkml, platform-driver-x86
Reply to
Arnd Bergmann, 2021-01-07
On Thu, Jan 07, 2021 at 11:34:15PM +0100, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@arndb.de>

When 5-level page tables are enabled, clang triggers a BUILD_BUG_ON():
I have CONFIG_X86_5LEVEL=y, CONFIG_EFI=y and am using Debian clang
version 10.0.1-8+b1 but my .config builds just fine.

How do you trigger this?

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (35 messages) 35 messages, 8 authors, last reply 2021-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help