[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210181039.TJCnFdKZ-lkp@intel.com>
Date: Tue, 18 Oct 2022 10:27:40 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ardb:efi-zboot-direct-mmu-off 15/29] ld: Unexpected run-time
relocations (.rel) detected!
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-zboot-direct-mmu-off
head: 4c3cb52a8c4a83d7aa19d178b0dc9809fbd0fa51
commit: 2b25a1399592a06a4ff217e51e4250b317d8191d [15/29] efi: libstub: Deduplicate ftrace command line argument filtering
config: i386-randconfig-a004-20221017
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=2b25a1399592a06a4ff217e51e4250b317d8191d
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-zboot-direct-mmu-off
git checkout 2b25a1399592a06a4ff217e51e4250b317d8191d
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>):
>> ld: drivers/firmware/efi/libstub/efi-stub-helper.stub.o: warning: relocation against `__x86_indirect_thunk_edi' in read-only section `.text'
>> ld: Unexpected run-time relocations (.rel) detected!
ld: drivers/firmware/efi/libstub/x86-stub.stub.o: in function `efi_exit':
>> x86-stub.c:(.text+0x24): undefined reference to `__x86_indirect_thunk_eax'
ld: drivers/firmware/efi/libstub/x86-stub.stub.o: in function `preserve_pci_rom_image':
x86-stub.c:(.text+0xa1): undefined reference to `__x86_indirect_thunk_eax'
>> ld: x86-stub.c:(.text+0x111): undefined reference to `__x86_indirect_thunk_eax'
ld: x86-stub.c:(.text+0x136): undefined reference to `__x86_indirect_thunk_eax'
ld: x86-stub.c:(.text+0x16a): undefined reference to `__x86_indirect_thunk_eax'
ld: drivers/firmware/efi/libstub/x86-stub.stub.o:x86-stub.c:(.text+0x19a): more undefined references to `__x86_indirect_thunk_eax' follow
ld: drivers/firmware/efi/libstub/efi-stub-helper.stub.o: in function `efi_exit_boot_services':
>> efi-stub-helper.c:(.text+0x981): undefined reference to `__x86_indirect_thunk_edi'
>> ld: efi-stub-helper.c:(.text+0x99c): undefined reference to `__x86_indirect_thunk_eax'
ld: efi-stub-helper.c:(.text+0x9ce): undefined reference to `__x86_indirect_thunk_eax'
ld: efi-stub-helper.c:(.text+0xa07): undefined reference to `__x86_indirect_thunk_eax'
>> ld: efi-stub-helper.c:(.text+0xa1b): undefined reference to `__x86_indirect_thunk_edi'
ld: efi-stub-helper.c:(.text+0xa3c): undefined reference to `__x86_indirect_thunk_eax'
ld: drivers/firmware/efi/libstub/efi-stub-helper.stub.o: in function `efi_load_initrd':
>> efi-stub-helper.c:(.text+0xbb5): undefined reference to `__x86_indirect_thunk_eax'
ld: efi-stub-helper.c:(.text+0xbe4): undefined reference to `__x86_indirect_thunk_eax'
ld: efi-stub-helper.c:(.text+0xc00): undefined reference to `__x86_indirect_thunk_eax'
ld: drivers/firmware/efi/libstub/efi-stub-helper.stub.o: in function `efi_wait_for_key':
efi-stub-helper.c:(.text+0xc89): undefined reference to `__x86_indirect_thunk_eax'
ld: drivers/firmware/efi/libstub/efi-stub-helper.stub.o:efi-stub-helper.c:(.text+0xcb6): more undefined references to `__x86_indirect_thunk_eax' follow
ld: warning: creating DT_TEXTREL in a PIE
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (122275 bytes)
Powered by blists - more mailing lists