Re: [RFC PATCH 00/21] KCFI support

From: Sami Tolvanen
Date: Thu May 05 2022 - 12:01:28 EST


On Thu, May 5, 2022 at 5:36 AM Mark Rutland <mark.rutland@xxxxxxx> wrote:
> FWIW, a `-DLLVM_ENABLE_ASSERTIONS=ON` build also seems to work for me when
> building a kernel with CONFIG_CFI_CLANG=y. It's much slower than a regular
> Release build, so I'm still waiting for that to finish building a kernel, but
> it has gotten much further through the build without issues.

Thanks for confirming. This issue should be fixed here if you want to
give it another try:

https://github.com/samitolvanen/llvm-project/commits/kcfi

Sami