Closed joe-lawrence closed 1 year ago
(After working around the KERNEL_VERSION(4, 5, 0) checks in kmod/core/core.c and kmod/patch/livepatch-patch-hook.c to handle a backport of upstream 7523e4dc5057e "module: use a structure to encapsulate layout".)
KERNEL_VERSION(4, 5, 0)
kmod/core/core.c
kmod/patch/livepatch-patch-hook.c
OS: Ubuntu 16.04.1 kernel version: 4.4.0-53-generic gcc version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
build: gcc-static-local-var-2 Using cache at /home/vagrant/.kpatch/src Testing patch file checking file mm/mmap.c Reading special section data Building original kernel Building patched kernel Extracting new and modified ELF sections ERROR: mmap.o: 1 unsupported section change(s) mmap.o: changed function: __split_vma.isra.31 mmap.o: changed function: copy_vma mmap.o: changed function: SyS_remap_file_pages mmap.o: changed function: mmap_region mmap.o: data section .data..read_mostly selected for inclusion /home/vagrant/kpatch.joe/kpatch-build/create-diff-object: unreconcilable difference ERROR: 1 error(s) encountered. Check /home/vagrant/.kpatch/build.log for more details. ERROR: gcc-static-local-var-2: build failed
This issue is ancient. Closing.
(After working around the
KERNEL_VERSION(4, 5, 0)
checks inkmod/core/core.c
andkmod/patch/livepatch-patch-hook.c
to handle a backport of upstream 7523e4dc5057e "module: use a structure to encapsulate layout".)OS: Ubuntu 16.04.1 kernel version: 4.4.0-53-generic gcc version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609