linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: 5.11.0-rc7 fails to compile with error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible
@ 2021-02-07 23:31 Stuart Little
  2021-02-08  0:26 ` Stuart Little
  0 siblings, 1 reply; 8+ messages in thread
From: Stuart Little @ 2021-02-07 23:31 UTC (permalink / raw)
  To: Andrey Ryabinin, Alexander Potapenko, Dmitry Vyukov, Marco Elver,
	Arnd Bergmann
  Cc: linux-arch, linux-kernel, kasan-dev

I am trying to compile on an x86_64 host for a 32-bit system; my config is at

https://termbin.com/v8jl

I am getting numerous errors of the form

./include/linux/kasan-checks.h:17:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible

and

./include/linux/kcsan-checks.h:143:6: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible

and

./arch/x86/include/asm/arch_hweight.h:16:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible

(those include files indicated whom I should add to this list; apologies if this reaches you in error).

The full log of the build is at

https://termbin.com/wbgs

---

5.11.0-rc6 built fine last week on this same setup. 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-08 18:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 23:31 PROBLEM: 5.11.0-rc7 fails to compile with error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible Stuart Little
2021-02-08  0:26 ` Stuart Little
2021-02-08  0:40   ` Stuart Little
2021-02-08  9:51     ` Marco Elver
2021-02-08 12:12     ` Borislav Petkov
2021-02-08 15:19       ` AC
2021-02-08 16:25         ` [PATCH] x86/build: Disable CET instrumentation in the kernel for 32-bit too Borislav Petkov
2021-02-08 18:12           ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).