ms178 · GitHub

I've been on the distribution provided Clang-15.0.7 for a while and tried out LLVM/Clang-17 (7bff37783f72ed99e4cdd0fd7dad1bf1f119f793) today, I've noticed that my 6.1.10 Kernel compiled and booted fine with Clang-15 but now fails to boot with Clang-17 and the same flags/patches used. It hangs right when Grub tries to load the Kernel image. CPU: Intel Haswell-EP, 64-bit.

More details on the patches used, as always, in my public repo.

config.txt

While skimming through other issues, I've found #1774, but while the symptoms were the same, I cannot tell if they are related. As I compile my Kernel with -O3, and the patch series adressed issues with -Os, it seems to be something different to me.

Read the original on github.com ↗