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: <201611201726.AmkbE6y2%fengguang.wu@intel.com>
Date:   Sun, 20 Nov 2016 17:11:40 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Will Deacon <will.deacon@....com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>
Subject: arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a
 14-bit integer (-8192-8191)

Hi Will,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   77079b133f242d3e3710c9b89ed54458307e54ff
commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT
date:   10 months ago
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout da48d094ce5d7c7dcdad9011648a81c42fd1c2ef
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   arch/ia64/kernel/entry.S: Assembler messages:
>> arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
   arch/ia64/kernel/entry.S:728: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
   arch/ia64/kernel/entry.S:859: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
--
   arch/ia64/kernel/fsys.S: Assembler messages:
>> arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:97: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:193: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:336: Error: Operand 3 of `add' should be a general register r0-r3
   arch/ia64/kernel/fsys.S:338: Error: Operand 3 of `add' should be a general register r0-r3
--
   arch/ia64/kernel/ivt.S: Assembler messages:
>> arch/ia64/kernel/ivt.S:759: Error: Operand 3 of `add' should be a general register r0-r3

vim +621 arch/ia64/kernel/entry.S

^1da177e Linus Torvalds 2005-04-16  605  	PT_REGS_UNWIND_INFO(0)
^1da177e Linus Torvalds 2005-04-16  606  {	/*
^1da177e Linus Torvalds 2005-04-16  607  	 * Some versions of gas generate bad unwind info if the first instruction of a
^1da177e Linus Torvalds 2005-04-16  608  	 * procedure doesn't go into the first slot of a bundle.  This is a workaround.
^1da177e Linus Torvalds 2005-04-16  609  	 */
^1da177e Linus Torvalds 2005-04-16  610  	nop.m 0
^1da177e Linus Torvalds 2005-04-16  611  	nop.i 0
^1da177e Linus Torvalds 2005-04-16  612  	/*
^1da177e Linus Torvalds 2005-04-16  613  	 * We need to call schedule_tail() to complete the scheduling process.
^1da177e Linus Torvalds 2005-04-16  614  	 * Called by ia64_switch_to() after do_fork()->copy_thread().  r8 contains the
^1da177e Linus Torvalds 2005-04-16  615  	 * address of the previously executing task.
^1da177e Linus Torvalds 2005-04-16  616  	 */
^1da177e Linus Torvalds 2005-04-16  617  	br.call.sptk.many rp=ia64_invoke_schedule_tail
^1da177e Linus Torvalds 2005-04-16  618  }
^1da177e Linus Torvalds 2005-04-16  619  .ret8:
54d496c3 Al Viro        2012-10-14  620  (pKStk)	br.call.sptk.many rp=call_payload
^1da177e Linus Torvalds 2005-04-16 @621  	adds r2=TI_FLAGS+IA64_TASK_SIZE,r13
^1da177e Linus Torvalds 2005-04-16  622  	;;
^1da177e Linus Torvalds 2005-04-16  623  	ld4 r2=[r2]
^1da177e Linus Torvalds 2005-04-16  624  	;;
^1da177e Linus Torvalds 2005-04-16  625  	mov r8=0
^1da177e Linus Torvalds 2005-04-16  626  	and r2=_TIF_SYSCALL_TRACEAUDIT,r2
^1da177e Linus Torvalds 2005-04-16  627  	;;
^1da177e Linus Torvalds 2005-04-16  628  	cmp.ne p6,p0=r2,r0
^1da177e Linus Torvalds 2005-04-16  629  (p6)	br.cond.spnt .strace_check_retval

:::::: The code at line 621 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (44986 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ