Please implement -fsanitize=kcfi to match llvm/clang: https://github.com/samitolvanen/llvm-project/commit/f7bf6a87c4fd945800115a17b8b61390541fabd0 The Linux kernel patches are queued and slated for the next merge window. Things like FineIBT rely on having this feature enabled.
(In reply to peterz from comment #0) > Please implement -fsanitize=kcfi to match llvm/clang: > > > https://github.com/samitolvanen/llvm-project/commit/ > f7bf6a87c4fd945800115a17b8b61390541fabd0 > > The Linux kernel patches are queued and slated for the next merge window. > Things like FineIBT rely on having this feature enabled. A related issue: Bug 107374 - Please expand the size of flag_sanitize to uint64_t Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107374
See https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608723.html and so on. kees mentioned this is currently in review and a new version is being spun up.