Both linux-6.11.3 and linux-6.11.3-gentoo fail to build with clang-19 when CONFIG_DRM_AMD_DC is set to 'y' in the kernel configuration. The Linux kernel builds properly with the same configuration when compiled with gcc or clang-18.
To reproduce:
Download linux sources 6.11.3 (or if on a Gentoo system, emerge gentoo-sources-6.11.3)
Configure kernel to build AMD_DC (example configs provided) and LLVM=1
Build the kernel with 'make LLVM=1'
Observe build failure
Expected the kernel to build, but it fails with the error:
Both linux-6.11.3 and linux-6.11.3-gentoo fail to build with clang-19 when CONFIG_DRM_AMD_DC is set to 'y' in the kernel configuration. The Linux kernel builds properly with the same configuration when compiled with gcc or clang-18.
To reproduce:
Expected the kernel to build, but it fails with the error:
Additional Information: In case it proves useful, the output of
emerge --info
is provided below: