====================================================================== BUILD LOG: pass/long/add-remove-file-diff ====================================================================== Verdict: FAIL Exit code: 1 Kernel: 6.19.0+ Toolchain: Compiler: gcc (GCC) 14.3.1 20251022 (Red Hat 14.3.1-4) Linker: GNU ld version 2.41-63.el10 Assembler: GNU assembler version 2.41-63.el10 ====================================================================== FULL BUILD OUTPUT ====================================================================== --- klp-build stdout --- Validating patch(es) Fixing patch(es) Building patched kernel Copying patched object files Diffing objects vmlinux.o: new function: show_val_kb vmlinux.o: changed function: cmdline_proc_show vmlinux.o: changed function: _sub_D_65535_0 vmlinux.o: changed function: _sub_I_65535_1 vmlinux.o: changed function: meminfo_proc_show vmlinux.o: changed function: _sub_D_65535_0 vmlinux.o: changed function: _sub_I_65535_1 --- klp-build stderr --- vmlinux.o: error: objtool: _sub_D_65535_0+0xc: failed to convert reloc sym '.data..LASAN0' to its proper format error: klp-build: objtool klp diff failed warn: klp-build: line 686: '( cd "$ORIG_DIR"; "${cmd[@]}" > >(tee -a "$log") 2> >(tee -a "$log" | "${filter[@]}" 1>&2) || die "objtool klp diff failed" )' --- diff.log --- vmlinux.o: error: objtool: _sub_D_65535_0+0xc: failed to convert reloc sym '.data..LASAN0' to its proper format vmlinux.o: new function: show_val_kb vmlinux.o: changed function: cmdline_proc_show vmlinux.o: changed function: _sub_D_65535_0 vmlinux.o: changed function: _sub_I_65535_1 vmlinux.o: changed function: meminfo_proc_show vmlinux.o: changed function: _sub_D_65535_0 vmlinux.o: changed function: _sub_I_65535_1 ====================================================================== BUILD VERIFICATION ====================================================================== ====================================================================== TEST PATCH(ES) ====================================================================== --- Patch: add-remove-file-diff-generated.patch --- From: Test Author Subject: [PATCH] Add/remove files and update proc (diff -Nupr) Same changes as add-remove-file-git in diff -Nupr format. --- orig/Documentation/livepatch/api.rst 2026-03-03 18:03:22.548075027 -0500 +++ patched/Documentation/livepatch/api.rst 1969-12-31 19:00:00.000000000 -0500 @@ -1,30 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -Livepatching APIs -================= - -Livepatch Enablement -==================== - -.. kernel-doc:: kernel/livepatch/core.c - :export: - - -Shadow Variables -================ - -.. kernel-doc:: kernel/livepatch/shadow.c - :export: - -System State Changes -==================== - -.. kernel-doc:: kernel/livepatch/state.c - :export: - -Object Types -============ - -.. kernel-doc:: include/linux/livepatch.h - :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state --- orig/fs/proc/cmdline.c 2026-03-03 19:11:37.165143292 -0500 +++ patched/fs/proc/cmdline.c 2026-03-03 19:11:45.475692320 -0500 @@ -7,6 +7,7 @@ static int cmdline_proc_show(struct seq_file *m, void *v) { + pr_info("klp-build-test: add-remove-file-diff test\n"); seq_puts(m, saved_command_line); seq_putc(m, '\n'); return 0; --- orig/fs/proc/klp_test_header1.h 1969-12-31 19:00:00.000000000 -0500 +++ patched/fs/proc/klp_test_header1.h 2026-03-03 19:11:45.475127729 -0500 @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _KLP_TEST_HEADER1_H +#define _KLP_TEST_HEADER1_H + +#define KLP_TEST_MARKER1 "klp-build-test: header1 included" +#endif --- orig/fs/proc/klp_test_header2.h 1969-12-31 19:00:00.000000000 -0500 +++ patched/fs/proc/klp_test_header2.h 2026-03-03 19:11:45.475232334 -0500 @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _KLP_TEST_HEADER2_H +#define _KLP_TEST_HEADER2_H + +#define KLP_TEST_MARKER2 "klp-build-test: header2 included" +#endif --- orig/fs/proc/meminfo.c 2026-03-03 18:24:51.520903549 -0500 +++ patched/fs/proc/meminfo.c 2026-03-03 19:11:45.475414509 -0500 @@ -18,6 +18,8 @@ #include #endif #include +#include "klp_test_header1.h" +#include "klp_test_header2.h" #include #include "internal.h" @@ -40,6 +42,8 @@ static int meminfo_proc_show(struct seq_ unsigned long pages[NR_LRU_LISTS]; unsigned long sreclaimable, sunreclaim; int lru; + pr_info(KLP_TEST_MARKER1 "\n"); + pr_info(KLP_TEST_MARKER2 "\n"); si_meminfo(&i); si_swapinfo(&i);