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: <202209272034.ux4sWUOH-lkp@intel.com>
Date:   Wed, 28 Sep 2022 00:34:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:arm64/undef/rework 9/9] arch/arm64/kernel/traps.c:466:
 undefined reference to `try_emulate_armv8_deprecated'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/undef/rework
head:   0a52fa07b5bf0adbdaf14c3b4c838de98daad64f
commit: 0a52fa07b5bf0adbdaf14c3b4c838de98daad64f [9/9] arm64: rework deprected instruction handling
config: arm64-buildonly-randconfig-r004-20220926
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/mark/linux.git/commit/?id=0a52fa07b5bf0adbdaf14c3b4c838de98daad64f
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark arm64/undef/rework
        git checkout 0a52fa07b5bf0adbdaf14c3b4c838de98daad64f
        # 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: arch/arm64/kernel/traps.o: in function `do_el0_undef':
>> arch/arm64/kernel/traps.c:466: undefined reference to `try_emulate_armv8_deprecated'
   arch/arm64/kernel/traps.c:466:(.text+0x14a4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `try_emulate_armv8_deprecated'


vim +466 arch/arm64/kernel/traps.c

   451	
   452	void do_el0_undef(struct pt_regs *regs, unsigned long esr)
   453	{
   454		u32 insn;
   455	
   456		/* check for AArch32 breakpoint instructions */
   457		if (!aarch32_break_handler(regs))
   458			return;
   459	
   460		if (user_insn_read(regs, &insn))
   461			goto out_err;
   462	
   463		if (try_emulate_mrs(regs, insn))
   464			return;
   465	
 > 466		if (try_emulate_armv8_deprecated(regs, insn))
   467			return;
   468	
   469	out_err:
   470		force_signal_inject(SIGILL, ILL_ILLOPC, regs->pc, 0);
   471	}
   472	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ