LLD9 introduced a TOC optimization that isn't compatible with kernel dynamic linker causing panic when loading kernel modules (pf, linuxkpi and so)
This patch disables TOC optimization when building kernel modules
Differential D22317
[PowerPC64] Fix broken kernel modules due to LLD 9+ TOC optimization alfredo on Nov 11 2019, 6:00 PM. Authored by Tags None Referenced Files
Details LLD9 introduced a TOC optimization that isn't compatible with kernel dynamic linker causing panic when loading kernel modules (pf, linuxkpi and so) This patch disables TOC optimization when building kernel modules Tested kldload on powerpc64 (QEMU)
Diff Detail
Event Timeline
|