llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.19k stars 12.04k forks source link

[BOLT] Optimizing Linux Kernel with BOLT but fail to boot #100114

Open hun-zi-shang-fen opened 4 months ago

hun-zi-shang-fen commented 4 months ago

The Linux kernel fails to boot after applying BOLT optimization with the --split-functions option as described in the document (https://github.com/llvm/llvm-project/blob/main/bolt/docs/OptimizingLinux.md). It gets stuck during the boot process at “Loading initial ramdisk...”

maksfb commented 2 months ago

Does it work without --split-functions? How is your kernel configured?

hun-zi-shang-fen commented 2 months ago

Does it work without --split-functions? How is your kernel configured?

yep, it work when I delete the --split-functions

ptr1337 commented 1 month ago

Having same issue actually. Sadly till now no succes.