Bug 218887
Summary: | RISCV kernel build fails with CONFIG_KASAN_INLINE=y | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Jason M. (jason) |
Component: | Sanitizers | Assignee: | MM/Sanitizers virtual assignee (mm_sanitizers) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | andreyknvl, kasan-dev |
Priority: | P3 | ||
Hardware: | RISC-V | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: | config that fails to build |
Description
Jason M.
2024-05-24 23:12:17 UTC
This is due to the issue described here: https://lore.kernel.org/all/20240527153137.271933-1-alexghiti@rivosinc.com/T/#t The vmlinux file was over 2GB with CONFIG_KASAN_INLINE=y $ ls -l vmlinux && ls -lh vmlinux -rwxr-xr-x. 1 jason jason 2455700072 May 27 18:17 vmlinux -rwxr-xr-x. 1 jason jason 2.3G May 27 18:17 vmlinux With the patch for resolve_btfids applied I was able to build and boot successfully. $ uname -r && grep CONFIG_KASAN_INLINE /boot/config-6.8.11-300.1.riscv64.fc40.riscv64+debug 6.8.11-300.1.riscv64.fc40.riscv64+debug CONFIG_KASAN_INLINE=y Awesome, thank you for posting an update! If everything is working as expected with the patch applied, please consider closing the issue. |