Re: [PATCH v2] kbuild: simpler generation of assembly constants
From: kbuild test robot
Date: Mon Jul 11 2016 - 06:40:58 EST
Hi,
[auto build test ERROR on ia64/next]
[also build test ERROR on v4.7-rc7 next-20160711]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Alexey-Dobriyan/kbuild-simpler-generation-of-assembly-constants/20160708-054403
base: https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git next
config: sparc-allmodconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 4.9.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
# save the attached .config to linux build tree
make.cross ARCH=sparc
All error/warnings (new ones prefixed by >>):
arch/sparc/kernel/entry.S: Assembler messages:
>> arch/sparc/kernel/entry.S:889: Error: bad expression
>> arch/sparc/kernel/entry.S:889: Warning: division by zero
>> arch/sparc/kernel/entry.S:889: Error: Illegal operands
arch/sparc/kernel/entry.S:913: Error: bad expression
arch/sparc/kernel/entry.S:913: Warning: division by zero
arch/sparc/kernel/entry.S:913: Error: Illegal operands
arch/sparc/kernel/entry.S:929: Error: bad expression
arch/sparc/kernel/entry.S:929: Warning: division by zero
arch/sparc/kernel/entry.S:929: Error: Illegal operands
vim +889 arch/sparc/kernel/entry.S
^1da177e Linus Torvalds 2005-04-16 873 * XXX These three should be consolidated into mostly shared
^1da177e Linus Torvalds 2005-04-16 874 * XXX code just like on sparc64... -DaveM
^1da177e Linus Torvalds 2005-04-16 875 */
^1da177e Linus Torvalds 2005-04-16 876 .align 4
^1da177e Linus Torvalds 2005-04-16 877 .globl sys_fork, flush_patch_two
^1da177e Linus Torvalds 2005-04-16 878 sys_fork:
^1da177e Linus Torvalds 2005-04-16 879 mov %o7, %l5
^1da177e Linus Torvalds 2005-04-16 880 flush_patch_two:
^1da177e Linus Torvalds 2005-04-16 881 FLUSH_ALL_KERNEL_WINDOWS;
^1da177e Linus Torvalds 2005-04-16 882 ld [%curptr + TI_TASK], %o4
^1da177e Linus Torvalds 2005-04-16 883 rd %psr, %g4
^1da177e Linus Torvalds 2005-04-16 884 WRITE_PAUSE
^1da177e Linus Torvalds 2005-04-16 885 mov SIGCHLD, %o0 ! arg0: clone flags
^1da177e Linus Torvalds 2005-04-16 886 rd %wim, %g5
^1da177e Linus Torvalds 2005-04-16 887 WRITE_PAUSE
^1da177e Linus Torvalds 2005-04-16 888 mov %fp, %o1 ! arg1: usp
^1da177e Linus Torvalds 2005-04-16 @889 std %g4, [%o4 + AOFF_task_thread + AOFF_thread_fork_kpsr]
^1da177e Linus Torvalds 2005-04-16 890 add %sp, STACKFRAME_SZ, %o2 ! arg2: pt_regs ptr
^1da177e Linus Torvalds 2005-04-16 891 mov 0, %o3
^1da177e Linus Torvalds 2005-04-16 892 call sparc_do_fork
^1da177e Linus Torvalds 2005-04-16 893 mov %l5, %o7
^1da177e Linus Torvalds 2005-04-16 894
^1da177e Linus Torvalds 2005-04-16 895 /* Whee, kernel threads! */
^1da177e Linus Torvalds 2005-04-16 896 .globl sys_clone, flush_patch_three
^1da177e Linus Torvalds 2005-04-16 897 sys_clone:
:::::: The code at line 889 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: Binary data