lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205022351.rnmZ1h8i-lkp@intel.com>
Date:   Mon, 2 May 2022 23:30:16 +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-decompressor 14/15]
 drivers/firmware/efi/libstub/zboot-header.S:15: Error: cannot represent
 BFD_RELOC_16 relocation in object file

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ