Closed onkobu closed 1 year ago
Indeed this is because of hardening options. Enabling CONFIG_TRIM_UNUSED_KSYMS makes them disappear. In addition out-of-tree modules (like this one) taint the kernel which is the opposite of hardening. What keeps your module out of the kernel tree?
When I build compilation works until modpost:
Are there symbols missing from the kernel? (That particular system's kernel is hardened and strips symbols.)