Skip to content

Fix CFI failures with GCOV_PROFILE_ALL

Sami Tolvanen linux-kbuild lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: Fix CFI failures with GCOVinit/Makefile scripts/Makefile.vmlinux+2 -00 replies
2/2kbuild: Disable GCOV for *.mod.oscripts/Makefile.modfinal+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)Kees CookNick Desaulniers
SeriesA-b R-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] Fix CFI failures with GCOV_PROFILE_ALL

Hi folks,

The following two patches fix CFI failures with GCOV_PROFILE_ALL, where the compiler injects indirectly called functions to object files that otherwise contain no executable code, and are not processed by objtool or don't have CFI enabled. This results in missing or incorrect type hashes during boot and when modules are loaded.

Sami Tolvanen (2):
kbuild: Fix CFI failures with GCOV
kbuild: Disable GCOV for *.mod.o

 init/Makefile             | 1 +
 scripts/Makefile.modfinal | 2 +-
 scripts/Makefile.vmlinux  | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

base-commit: 007034977130b49b618a5206aad54f634d9f169c

Signature · 1 line
2.41.0.162.gfafddb0af9-goog