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]
Date:   Mon, 19 Sep 2022 06:38:00 +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:for-kernelci 17/21] aarch64-linux-ld: efi.c:undefined
 reference to `phys_initrd_start'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head:   54f3c80676eedf739488a57e3356946ce8d1c091
commit: 498ea7824248d5d0aac3a69546303dae4c75e777 [17/21] efi: libstub: unify initrd loading between architectures
config: arm64-buildonly-randconfig-r002-20220918
compiler: aarch64-linux-gcc (GCC) 12.1.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=498ea7824248d5d0aac3a69546303dae4c75e777
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb for-kernelci
        git checkout 498ea7824248d5d0aac3a69546303dae4c75e777
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: aarch64-linux-ld: DWARF error: could not find abbrev number 84
   drivers/firmware/efi/efi.o: in function `efi_config_parse_tables':
   efi.c:(.init.text+0x13c0): undefined reference to `phys_initrd_start'
   aarch64-linux-ld: drivers/firmware/efi/efi.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `phys_initrd_start' which may bind externally can not be used when making a shared object; recompile with -fPIC
   efi.c:(.init.text+0x13c0): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: efi.c:(.init.text+0x13c4): undefined reference to `phys_initrd_start'
>> aarch64-linux-ld: efi.c:(.init.text+0x13d0): undefined reference to `phys_initrd_size'
   aarch64-linux-ld: drivers/firmware/efi/efi.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `phys_initrd_size' which may bind externally can not be used when making a shared object; recompile with -fPIC
   efi.c:(.init.text+0x13d0): dangerous relocation: unsupported relocation
   aarch64-linux-ld: efi.c:(.init.text+0x13d4): undefined reference to `phys_initrd_start'
   aarch64-linux-ld: efi.c:(.init.text+0x13e4): undefined reference to `phys_initrd_size'
   aarch64-linux-ld: efi.c:(.init.text+0x13ec): undefined reference to `phys_initrd_size'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (160282 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ