Kernel 5.19 build with Clang/LLVM - LTO Full = ‘nvidia’: Exec format error

Hi, when I build kernel with clang/LLVM gets the indicated installation log and the following message when trying to run the module: Modprobe: ERROR: could not insert ‘nvidia’: Exec format error > 515.65.01. With an identically configured kernel under Gcc-12.2.0 everything is fine. Note that everything works fine under 5.18 kernels built with clang/LLVM.

make.log (58.8 KB)