kconfigcheck: rust: disable DEBUG_INFO_BTF
When this config is enabled along with LTO (from the "hardening" category), the kernel build system disables rust support. These options are added to a new category, "rust" since it's only necessary for kernels with rust support enabled. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7466>
This commit is contained in:
parent
5800491bb1
commit
5cbd09c81c
1 changed files with 4 additions and 0 deletions
|
|
@ -599,3 +599,7 @@ CFI_ICALL_NORMALIZE_INTEGERS = "y" # Required for CFI with Rust
|
|||
SHADOW_CALL_STACK = "y"
|
||||
["category:hardening".">=6.7.0"."riscv64"]
|
||||
SHADOW_CALL_STACK = "y"
|
||||
|
||||
["category:rust".">=6.1.0"]
|
||||
DEBUG_INFO_BTF = "n" # Conflicts with LTO when Rust is enabled
|
||||
DEBUG_INFO_BTF_MODULES = "n" # Conflicts with LTO when Rust is enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue