Open dileks opened 5 days ago
With disabling both modules:
$ scripts/config -d DRM_AMDGPU -d DRM_NOUVEAU
I was able to build and boot into my Debian/unstable AMD64 system:
root# cat /proc/version Linux version 6.9.7-2-amd64-clang18-kcfi (sedat.dilek@gmail.com@iniza) (ClangBuiltLinux clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095a b096dd780e84d7ab81f3d7ff), ClangBuiltLinux LLD 18.1.8)
I tried with and without revert of:
$ git revert f1feed67c79e ( Revert "kbuild: Remove support for Clang's ThinLTO caching" )
@MaskRay
Can you look at this, please?
With Clang-ThinLTO and CONFIG_DEBUG_INFO_BTF=y and CONFIG_DEBUG_INFO_BTF_MODULES=y and CONFIG_DEBUG_INFO_DWARF5=y nouveau kernel-module is BROKEN with Linux v6.9.7:
SLIM LLLVM toolchain version 18.1.8 was used from kernel.org.
Reported upstream (it does not look like a BTF/pahole issue); Link: https://lore.kernel.org/all/CA+icZUU71k9kh3GGc8w=F4rdJeBc3LOPH-gNXrjTTUicnufe5g@mail.gmail.com/
BROKEN linux-config is attached. config-6.9.7-1-amd64-clang18-kcfi.txt