From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [ardb:efi-decompressor 14/15] drivers/firmware/efi/libstub/zboot-header.S:15: Error: cannot represent BFD_RELOC_16 relocation in object file
Date: Mon, 2 May 2022 23:30:16 +0800 [thread overview]
Message-ID: <202205022351.rnmZ1h8i-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-decompressor
head: 72c24d14cadb10e6debf20a1c82657095ebb09dc
commit: b04842cf015d233b0ab70338b131eccca070cc86 [14/15] efi: stub: implement generic EFI zboot
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20220502/202205022351.rnmZ1h8i-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=b04842cf015d233b0ab70338b131eccca070cc86
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-decompressor
git checkout b04842cf015d233b0ab70338b131eccca070cc86
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/firmware/efi/libstub/zboot-header.S: Assembler messages:
>> drivers/firmware/efi/libstub/zboot-header.S:15: Error: cannot represent BFD_RELOC_16 relocation in object file
vim +15 drivers/firmware/efi/libstub/zboot-header.S
4
5 .section ".head", "a"
6 .globl __efistub_efi_zboot_header
7 __efistub_efi_zboot_header:
8 .Ldoshdr:
9 .long MZ_MAGIC
10 .org .Ldoshdr + 0x3c
11 .long .Lpehdr - .Ldoshdr
12
13 .Lpehdr:
14 .long PE_MAGIC
> 15 .short pe_machine_type
16 .short .Lsection_count
17 .long 0
18 .long 0
19 .long 0
20 .short .Lsection_table - .Loptional_header
21 .short IMAGE_FILE_DEBUG_STRIPPED | \
22 IMAGE_FILE_EXECUTABLE_IMAGE | \
23 IMAGE_FILE_LINE_NUMS_STRIPPED
24
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-02 15:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205022351.rnmZ1h8i-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®