Closed Locietta closed 2 years ago
Found related patch: https://lore.kernel.org/linux-kbuild/20220528224745.GA2501857@roeck-us.net/T/
It's a KBuild update to simplify the build process. Previously it will generate a LLVM IR archive from multiple LLVM IR files and then link it into ELF archive (the LTO & OBJTOOL steps in 5.18). Now in 5.19, however, it directly link LLVM IRs into ELF archive, so the "LTO" disappear in the log.
Conclusion: No actual change for the build result, LTO is still on. The log change is quite misleading though😕
Just found that LTO disappears in the build log since 5.19
But still not sure if it's just change in log print, or LTO is indeed not enabled in build.
5.19
5.18