Shadow_Fury Apprentice
Joined: 20 Apr 2021 Posts: 171 Location: 11.435765792823453, 143.05926743686274
|
Posted: Mon Oct 21, 2024 8:30 pm Post subject: kernel built with LLVM panics |
|
|
i tried building my kernel with LLVM, and am having issues with it panicking.
when built with LLVM-19, it occasionally seems to panic at random during boot.
when built with LLVM-18, it seems to boot fine (though, i've only tried once).
Both, however, panic when i try to modprobe the nvidia driver module (both the binary one, and when it is built with kernel-open)
none of the above issues occur with a GCC kernel.
LLVM config (tried with and without LTO)
LLVM 19 build command:
LLVM 18 build command:
Code: |
PATH=/usr/lib/llvm/18/bin:$PATH make -j12 LLVM=1 LD=/usr/lib/llvm/19/bin/ld.lld
|
GCC config
NOTE: yes, i know that noveau is built as a module. this is following this:
Code: |
DRM_TTM_HELPER
Cannot be directly selected in the kernel's config menus, and may need
selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
DRM_QXL=m, DRM_NOUVEAU=m also acceptable if a module and *not* built-in."
| as displayed by the package ebuild when it was disabled.
any help is appreciated.
-S
p.s. if anyone needs extra logs, please let me know (and, preferably, how to obtain said logs) |
|