mirror of
https://github.com/dynup/kpatch
synced 2025-03-03 09:18:22 +00:00
After changing the gcc name in a linux tree to gcc72, kpatch-build failed to produce hotpatches with the error message "ERROR: no changed objects found." This is due to a wrapper script called kpatch-gcc, called while kpatch-build builds the kernel, which checks if the compiler name matches exactly gcc, failing the check when comparing to gcc72, and thus not producing the expected file changed_objs containing the list of changed objects. This commit fixes this issue by loosening the check on the gcc name. Signed-off-by: Bruno Loreto <loretob@amazon.com> Reviewed-by: Bjoern Doebel <doebel@amazon.com> Reviewed-by: Amit Shah <aams@amazon.com> Reviewed-by: Pawel Wieczorkiewicz <wipawel@amazon.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |