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: <202112131748.2n6YKYLW-lkp@intel.com>
Date:   Mon, 13 Dec 2021 17:50:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Helge Deller <deller@....de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [deller-parisc:5.16-vdso-3-timefunctions 1/7]
 arch/parisc/kernel/vdso32/restart_syscall.S:15: Error: bad or irreducible
 absolute expression

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git 5.16-vdso-3-timefunctions
head:   d5efc9bf61d8eeab6aa9e84ed00bc84229253238
commit: 1e4b26c042645773fa45cc09eb7cfe59917969e3 [1/7] initial vDSO implementation
config: parisc-randconfig-r012-20211213 (https://download.01.org/0day-ci/archive/20211213/202112131748.2n6YKYLW-lkp@intel.com/config)
compiler: hppa64-linux-gcc (GCC) 11.2.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/deller/parisc-linux.git/commit/?id=1e4b26c042645773fa45cc09eb7cfe59917969e3
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc 5.16-vdso-3-timefunctions
        git checkout 1e4b26c042645773fa45cc09eb7cfe59917969e3
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc prepare

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 >>):

   arch/parisc/kernel/vdso64/Makefile:25: FORCE prerequisite is missing
   arch/parisc/kernel/vdso32/gettimeofday.S: Assembler messages:
   arch/parisc/kernel/vdso32/gettimeofday.S:18: Error: bad or irreducible absolute expression
   arch/parisc/kernel/vdso32/gettimeofday.S:18: Error: junk at end of line, first unrecognized character is `:'
   arch/parisc/kernel/vdso32/gettimeofday.S:23: Error: no such instruction: `ble 0x100(%sr2,%r0)'
   arch/parisc/kernel/vdso32/gettimeofday.S:24: Error: no such instruction: `ldi __NR__gettimeofday,%r20'
   arch/parisc/kernel/vdso32/gettimeofday.S:46: Error: .cfi_endproc without corresponding .cfi_startproc
   arch/parisc/kernel/vdso32/gettimeofday.S:55: Error: bad or irreducible absolute expression
   arch/parisc/kernel/vdso32/gettimeofday.S:55: Error: junk at end of line, first unrecognized character is `:'
   arch/parisc/kernel/vdso32/gettimeofday.S:58: Error: no such instruction: `ble 0x100(%sr2,%r0)'
   arch/parisc/kernel/vdso32/gettimeofday.S:59: Error: no such instruction: `ldi __NR__clock_gettime,%r20'
   arch/parisc/kernel/vdso32/gettimeofday.S:61: Error: .cfi_endproc without corresponding .cfi_startproc
   make[2]: *** [arch/parisc/kernel/vdso32/Makefile:29: arch/parisc/kernel/vdso32/gettimeofday.o] Error 1
   arch/parisc/kernel/vdso32/restart_syscall.S: Assembler messages:
>> arch/parisc/kernel/vdso32/restart_syscall.S:15: Error: bad or irreducible absolute expression
>> arch/parisc/kernel/vdso32/restart_syscall.S:15: Error: junk at end of line, first unrecognized character is `:'
>> arch/parisc/kernel/vdso32/restart_syscall.S:25: Error: no such instruction: `ldw 0(%sp),%r31'
>> arch/parisc/kernel/vdso32/restart_syscall.S:28: Error: no such instruction: `ble 0x100(%sr2,%r0)'
>> arch/parisc/kernel/vdso32/restart_syscall.S:29: Error: no such instruction: `ldi 0,%r20'
>> arch/parisc/kernel/vdso32/restart_syscall.S:31: Error: no such instruction: `ldi 1,%r25'
   arch/parisc/kernel/vdso32/restart_syscall.S:32: Error: no such instruction: `ble 0x100(%sr2,%r0)'
   arch/parisc/kernel/vdso32/restart_syscall.S:33: Error: no such instruction: `ldi 173,%r20'
>> arch/parisc/kernel/vdso32/restart_syscall.S:35: Error: .cfi_endproc without corresponding .cfi_startproc
   make[2]: *** [arch/parisc/kernel/vdso32/Makefile:29: arch/parisc/kernel/vdso32/restart_syscall.o] Error 1
   arch/parisc/kernel/vdso32/datapage.S: arch/parisc/kernel/vdso32/sigtramp.S: Assembler messages:
   Assembler messages:
>> arch/parisc/kernel/vdso32/datapage.S:17: Error: bad or irreducible absolute expression
>> arch/parisc/kernel/vdso32/sigtramp.S:16: Error: bad or irreducible absolute expression
>> arch/parisc/kernel/vdso32/datapage.S:17: Error: junk at end of line, first unrecognized character is `:'
>> arch/parisc/kernel/vdso32/sigtramp.S:16: Error: junk at end of line, first unrecognized character is `:'
>> arch/parisc/kernel/vdso32/datapage.S:22: Error: no such instruction: `bl 1f,%r1'
>> arch/parisc/kernel/vdso32/datapage.S:23: Error: no such instruction: `depi 0,31,2,%r1'
   arch/parisc/kernel/vdso32/datapage.S:25: Error: bad or irreducible absolute expression
   arch/parisc/kernel/vdso32/datapage.S:25: Error: junk at end of line, first unrecognized character is `:'
>> arch/parisc/kernel/vdso32/sigtramp.S:19: Error: no such instruction: `ldi 0,%r25'
>> arch/parisc/kernel/vdso32/sigtramp.S:20: Error: no such instruction: `ble 0x100(%sr2,%r0)'
>> arch/parisc/kernel/vdso32/sigtramp.S:21: Error: no such instruction: `ldi 173,%r20'
>> arch/parisc/kernel/vdso32/datapage.S:28: Error: no such instruction: `bv %r0(%r2)'
   arch/parisc/kernel/vdso32/sigtramp.S:23: Error: no such instruction: `ldi 1,%r25'
>> arch/parisc/kernel/vdso32/datapage.S:29: Error: no such instruction: `ldw 0(%r1),%r28'
   arch/parisc/kernel/vdso32/sigtramp.S:24: Error: no such instruction: `ble 0x100(%sr2,%r0)'
>> arch/parisc/kernel/vdso32/datapage.S:31: Error: .cfi_endproc without corresponding .cfi_startproc
   arch/parisc/kernel/vdso32/sigtramp.S:25: Error: no such instruction: `ldi 173,%r20'
>> arch/parisc/kernel/vdso32/sigtramp.S:28: Error: .cfi_endproc without corresponding .cfi_startproc
   make[2]: *** [arch/parisc/kernel/vdso32/Makefile:29: arch/parisc/kernel/vdso32/datapage.o] Error 1
   make[2]: *** [arch/parisc/kernel/vdso32/Makefile:29: arch/parisc/kernel/vdso32/sigtramp.o] Error 1
   make[2]: Target 'include/generated/vdso32-offsets.h' not remade because of errors.
   make[1]: *** [arch/parisc/Makefile:186: vdso_prepare] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:219: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +15 arch/parisc/kernel/vdso32/restart_syscall.S

    12	
    13		.text
    14	
  > 15	ENTRY_CFI(__kernel_restart_syscall)
    16		/*
    17		 * Setup a trampoline to restart the syscall
    18		 * with __NR_restart_syscall
    19		 */
    20	
    21		/* load return pointer */
    22	#if defined(__VDSO64__)
    23		ldd	0(%sp), %r31
    24	#elif defined(__VDSO32__)
  > 25		ldw	0(%sp), %r31
    26	#endif
    27	
  > 28		ble	0x100(%sr2, %r0)
  > 29		ldi	__NR_restart_syscall, %r20
    30	
  > 31		ldi	1, %r25			/* (in_syscall=1) */
    32		ble	0x100(%sr2, %r0)
    33		ldi	__NR_rt_sigreturn, %r20
    34	
  > 35	ENDPROC_CFI(__kernel_restart_syscall)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ