Got some more details about kpatch on s390x (and the gcc dependencies) from Sumanth Korikkar:
"
1. kpatch-tools doesn't have those gcc compiler dependencies. Hence, other gcc compiler version should be able to ideally build it.
2. All gcc patches mentioned in PR 1203 are necessary to build both kernel and kpatch livepatching modules.
kernel and kpatch livepatch modules should be built with same compiler version (recommended).
Also note CONFIG_EXPOLINE_EXTERN should be enabled when building the kernel.
Also, note, it would be necessary to also include expoline.o in kernel-devel package to build OOT modules.
1. See https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1756 [ Fedora]
2. c4e789572557 ("s390/nospec: build expoline.o for modules_prepare target") in kernel
"
Got some more details about kpatch on s390x (and the gcc dependencies) from Sumanth Korikkar:
"
1. kpatch-tools doesn't have those gcc compiler dependencies. Hence, other gcc compiler version should be able to ideally build it.
2. All gcc patches mentioned in PR 1203 are necessary to build both kernel and kpatch livepatching modules.
kernel and kpatch livepatch modules should be built with same compiler version (recommended).
Also note CONFIG_ EXPOLINE_ EXTERN should be enabled when building the kernel.
Also, note, it would be necessary to also include expoline.o in kernel-devel package to build OOT modules. /gitlab. com/cki- project/ kernel- ark/-/merge_ requests/ 1756 [ Fedora]
1. See https:/
2. c4e789572557 ("s390/nospec: build expoline.o for modules_prepare target") in kernel
"