During linking of vmlinux.o, lld.ld crashes with a stacktrace (log attached with last few log lines). Reproducible: Always Steps to Reproduce: 1. Build gentoo-sources with a purely clang/llvm-based toolchain Problem similar to https://github.com/llvm/llvm-project/issues/72026. PR https://github.com/llvm/llvm-project/pull/85081 fixes this issue and the kernel builds/links successfully.
Created attachment 898316 [details] .config
Created attachment 898317 [details] emerge --info
Yeah, the patches are proving difficult to backport cleanly without introducing test failures. mgorny spent the last few days trying. *** This bug has been marked as a duplicate of bug 931130 ***
Created attachment 898318 [details] (partial) kernel build log with stacktrace
uff, that was fast. Alright, sorry for the duplicate, I looked for something like this but must have missed it. Thanks for working on it! (I noticed the test case issue and just disregarded them to test if the patch works in general)