cfi: ld.lld: warning: <internal>:(.eh_frame) is being placed in '.eh_frame' #1227
Labels
[FEATURE] CFI
Related to building the kernel with Clang Control Flow Integrity
Orphan section
An linker orphan section warning
[TOOL] lld
The issue is relevant to LLD linker
dileks commentedDec 28, 2020
•
edited
CC @samitolvanen @MaskRay
I pulled in
cfi-5.10releases tag on top ofLinux v5.10.3.My
LLVM toolchainis version11.0.1-rc2.Note:
CFI(and LTO) feature requiresLLVM=1andLLVM_IAS=1to be used andLLVM toolchain >= v11(seeCONFIG_HAS_LTO_CLANG).In my logs I see (beyond usual known CFI warnings):
Link: https://github.com/samitolvanen/linux/releases/tag/cfi-5.10
The text was updated successfully, but these errors were encountered: