arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3
From: kbuild test robot
Date: Sat Jan 14 2017 - 19:38:26 EST
Hi Will,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f0ad17712b9f71c24e2b8b9725230ef57232377f
commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT
date: 12 months ago
config: ia64-allmodconfig (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/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
vim +67 arch/ia64/kernel/fsys.S
^1da177e Linus Torvalds 2005-04-16 51 ENTRY(fsys_ni_syscall)
^1da177e Linus Torvalds 2005-04-16 52 .prologue
^1da177e Linus Torvalds 2005-04-16 53 .altrp b6
^1da177e Linus Torvalds 2005-04-16 54 .body
^1da177e Linus Torvalds 2005-04-16 55 mov r8=ENOSYS
^1da177e Linus Torvalds 2005-04-16 56 mov r10=-1
^1da177e Linus Torvalds 2005-04-16 57 FSYS_RETURN
^1da177e Linus Torvalds 2005-04-16 58 END(fsys_ni_syscall)
^1da177e Linus Torvalds 2005-04-16 59
^1da177e Linus Torvalds 2005-04-16 60 ENTRY(fsys_getpid)
^1da177e Linus Torvalds 2005-04-16 61 .prologue
^1da177e Linus Torvalds 2005-04-16 62 .altrp b6
^1da177e Linus Torvalds 2005-04-16 63 .body
96ded9da Pavel Emelyanov 2008-03-28 64 add r17=IA64_TASK_GROUP_LEADER_OFFSET,r16
96ded9da Pavel Emelyanov 2008-03-28 65 ;;
96ded9da Pavel Emelyanov 2008-03-28 66 ld8 r17=[r17] // r17 = current->group_leader
^1da177e Linus Torvalds 2005-04-16 @67 add r9=TI_FLAGS+IA64_TASK_SIZE,r16
^1da177e Linus Torvalds 2005-04-16 68 ;;
^1da177e Linus Torvalds 2005-04-16 69 ld4 r9=[r9]
96ded9da Pavel Emelyanov 2008-03-28 70 add r17=IA64_TASK_TGIDLINK_OFFSET,r17
^1da177e Linus Torvalds 2005-04-16 71 ;;
^1da177e Linus Torvalds 2005-04-16 72 and r9=TIF_ALLWORK_MASK,r9
96ded9da Pavel Emelyanov 2008-03-28 73 ld8 r17=[r17] // r17 = current->group_leader->pids[PIDTYPE_PID].pid
96ded9da Pavel Emelyanov 2008-03-28 74 ;;
96ded9da Pavel Emelyanov 2008-03-28 75 add r8=IA64_PID_LEVEL_OFFSET,r17
:::::: The code at line 67 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip