Re: [PATCH v2] kbuild: simpler generation of assembly constants
From: kbuild test robot
Date: Mon Jul 11 2016 - 06:58:36 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-defconfig (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/mm/hypersparc.S: Assembler messages:
>> arch/sparc/mm/hypersparc.S:41: Error: bad expression
>> arch/sparc/mm/hypersparc.S:41: Warning: division by zero
>> arch/sparc/mm/hypersparc.S:41: Error: bad expression
>> arch/sparc/mm/hypersparc.S:41: Warning: division by zero
>> arch/sparc/mm/hypersparc.S:41: Error: bad expression
>> arch/sparc/mm/hypersparc.S:41: Warning: division by zero
>> arch/sparc/mm/hypersparc.S:41: Error: bad expression
>> arch/sparc/mm/hypersparc.S:41: Warning: division by zero
>> arch/sparc/mm/hypersparc.S:41: Error: bad expression
>> arch/sparc/mm/hypersparc.S:41: Warning: division by zero
>> arch/sparc/mm/hypersparc.S:41: Error: Illegal operands
arch/sparc/mm/hypersparc.S:77: Error: bad expression
arch/sparc/mm/hypersparc.S:77: Warning: division by zero
arch/sparc/mm/hypersparc.S:77: Error: bad expression
arch/sparc/mm/hypersparc.S:77: Warning: division by zero
arch/sparc/mm/hypersparc.S:77: Error: bad expression
arch/sparc/mm/hypersparc.S:77: Warning: division by zero
arch/sparc/mm/hypersparc.S:77: Error: bad expression
arch/sparc/mm/hypersparc.S:77: Warning: division by zero
arch/sparc/mm/hypersparc.S:77: Error: bad expression
arch/sparc/mm/hypersparc.S:77: Warning: division by zero
arch/sparc/mm/hypersparc.S:77: Error: Illegal operands
arch/sparc/mm/hypersparc.S:79: Error: bad expression
arch/sparc/mm/hypersparc.S:79: Warning: division by zero
arch/sparc/mm/hypersparc.S:79: Error: bad expression
arch/sparc/mm/hypersparc.S:79: Warning: division by zero
arch/sparc/mm/hypersparc.S:79: Error: bad expression
arch/sparc/mm/hypersparc.S:79: Warning: division by zero
arch/sparc/mm/hypersparc.S:79: Error: bad expression
arch/sparc/mm/hypersparc.S:79: Warning: division by zero
arch/sparc/mm/hypersparc.S:79: Error: bad expression
arch/sparc/mm/hypersparc.S:79: Warning: division by zero
arch/sparc/mm/hypersparc.S:79: Error: Illegal operands
arch/sparc/mm/hypersparc.S:125: Error: bad expression
arch/sparc/mm/hypersparc.S:125: Warning: division by zero
arch/sparc/mm/hypersparc.S:125: Error: bad expression
arch/sparc/mm/hypersparc.S:125: Warning: division by zero
arch/sparc/mm/hypersparc.S:125: Error: bad expression
arch/sparc/mm/hypersparc.S:125: Warning: division by zero
arch/sparc/mm/hypersparc.S:125: Error: bad expression
arch/sparc/mm/hypersparc.S:125: Warning: division by zero
arch/sparc/mm/hypersparc.S:125: Error: bad expression
arch/sparc/mm/hypersparc.S:125: Warning: division by zero
arch/sparc/mm/hypersparc.S:125: Error: Illegal operands
arch/sparc/mm/hypersparc.S:166: Error: bad expression
arch/sparc/mm/hypersparc.S:166: Warning: division by zero
arch/sparc/mm/hypersparc.S:166: Error: bad expression
arch/sparc/mm/hypersparc.S:166: Warning: division by zero
arch/sparc/mm/hypersparc.S:166: Error: bad expression
arch/sparc/mm/hypersparc.S:166: Warning: division by zero
arch/sparc/mm/hypersparc.S:166: Error: bad expression
arch/sparc/mm/hypersparc.S:166: Warning: division by zero
arch/sparc/mm/hypersparc.S:166: Error: bad expression
arch/sparc/mm/hypersparc.S:166: Warning: division by zero
arch/sparc/mm/hypersparc.S:166: Error: Illegal operands
arch/sparc/mm/hypersparc.S:167: Error: bad expression
arch/sparc/mm/hypersparc.S:167: Warning: division by zero
arch/sparc/mm/hypersparc.S:167: Error: bad expression
arch/sparc/mm/hypersparc.S:167: Warning: division by zero
arch/sparc/mm/hypersparc.S:167: Error: bad expression
arch/sparc/mm/hypersparc.S:167: Warning: division by zero
arch/sparc/mm/hypersparc.S:167: Error: bad expression
arch/sparc/mm/hypersparc.S:167: Warning: division by zero
arch/sparc/mm/hypersparc.S:167: Error: bad expression
arch/sparc/mm/hypersparc.S:167: Warning: division by zero
arch/sparc/mm/hypersparc.S:167: Error: Illegal operands
arch/sparc/mm/hypersparc.S:273: Error: bad expression
arch/sparc/mm/hypersparc.S:273: Warning: division by zero
arch/sparc/mm/hypersparc.S:273: Error: bad expression
arch/sparc/mm/hypersparc.S:273: Warning: division by zero
arch/sparc/mm/hypersparc.S:273: Error: bad expression
arch/sparc/mm/hypersparc.S:273: Warning: division by zero
arch/sparc/mm/hypersparc.S:273: Error: bad expression
arch/sparc/mm/hypersparc.S:273: Warning: division by zero
arch/sparc/mm/hypersparc.S:273: Error: bad expression
arch/sparc/mm/hypersparc.S:273: Warning: division by zero
arch/sparc/mm/hypersparc.S:273: Error: Illegal operands
arch/sparc/mm/hypersparc.S:287: Error: bad expression
arch/sparc/mm/hypersparc.S:287: Warning: division by zero
arch/sparc/mm/hypersparc.S:287: Error: bad expression
arch/sparc/mm/hypersparc.S:287: Warning: division by zero
arch/sparc/mm/hypersparc.S:287: Error: bad expression
arch/sparc/mm/hypersparc.S:287: Warning: division by zero
arch/sparc/mm/hypersparc.S:287: Error: bad expression
arch/sparc/mm/hypersparc.S:287: Warning: division by zero
arch/sparc/mm/hypersparc.S:287: Error: bad expression
arch/sparc/mm/hypersparc.S:287: Warning: division by zero
arch/sparc/mm/hypersparc.S:287: Error: Illegal operands
arch/sparc/mm/hypersparc.S:289: Error: bad expression
arch/sparc/mm/hypersparc.S:289: Warning: division by zero
arch/sparc/mm/hypersparc.S:289: Error: bad expression
arch/sparc/mm/hypersparc.S:289: Warning: division by zero
arch/sparc/mm/hypersparc.S:289: Error: bad expression
arch/sparc/mm/hypersparc.S:289: Warning: division by zero
arch/sparc/mm/hypersparc.S:289: Error: bad expression
arch/sparc/mm/hypersparc.S:289: Warning: division by zero
arch/sparc/mm/hypersparc.S:289: Error: bad expression
arch/sparc/mm/hypersparc.S:289: Warning: division by zero
arch/sparc/mm/hypersparc.S:289: Error: Illegal operands
arch/sparc/mm/hypersparc.S:310: Error: bad expression
arch/sparc/mm/hypersparc.S:310: Warning: division by zero
arch/sparc/mm/hypersparc.S:310: Error: bad expression
arch/sparc/mm/hypersparc.S:310: Warning: division by zero
arch/sparc/mm/hypersparc.S:310: Error: bad expression
arch/sparc/mm/hypersparc.S:310: Warning: division by zero
arch/sparc/mm/hypersparc.S:310: Error: bad expression
arch/sparc/mm/hypersparc.S:310: Warning: division by zero
arch/sparc/mm/hypersparc.S:310: Error: bad expression
arch/sparc/mm/hypersparc.S:310: Warning: division by zero
arch/sparc/mm/hypersparc.S:310: Error: Illegal operands
arch/sparc/mm/hypersparc.S:312: Error: bad expression
--
arch/sparc/mm/viking.S: Assembler messages:
>> arch/sparc/mm/viking.S:111: Error: bad expression
>> arch/sparc/mm/viking.S:111: Warning: division by zero
>> arch/sparc/mm/viking.S:111: Error: bad expression
>> arch/sparc/mm/viking.S:111: Warning: division by zero
>> arch/sparc/mm/viking.S:111: Error: bad expression
>> arch/sparc/mm/viking.S:111: Warning: division by zero
>> arch/sparc/mm/viking.S:111: Error: bad expression
>> arch/sparc/mm/viking.S:111: Warning: division by zero
>> arch/sparc/mm/viking.S:111: Error: bad expression
>> arch/sparc/mm/viking.S:111: Warning: division by zero
>> arch/sparc/mm/viking.S:111: Error: Illegal operands
arch/sparc/mm/viking.S:115: Error: bad expression
arch/sparc/mm/viking.S:115: Warning: division by zero
arch/sparc/mm/viking.S:115: Error: bad expression
arch/sparc/mm/viking.S:115: Warning: division by zero
arch/sparc/mm/viking.S:115: Error: bad expression
arch/sparc/mm/viking.S:115: Warning: division by zero
arch/sparc/mm/viking.S:115: Error: bad expression
arch/sparc/mm/viking.S:115: Warning: division by zero
arch/sparc/mm/viking.S:115: Error: bad expression
arch/sparc/mm/viking.S:115: Warning: division by zero
arch/sparc/mm/viking.S:115: Error: Illegal operands
arch/sparc/mm/viking.S:134: Error: bad expression
arch/sparc/mm/viking.S:134: Warning: division by zero
arch/sparc/mm/viking.S:134: Error: bad expression
arch/sparc/mm/viking.S:134: Warning: division by zero
arch/sparc/mm/viking.S:134: Error: bad expression
arch/sparc/mm/viking.S:134: Warning: division by zero
arch/sparc/mm/viking.S:134: Error: bad expression
arch/sparc/mm/viking.S:134: Warning: division by zero
arch/sparc/mm/viking.S:134: Error: bad expression
arch/sparc/mm/viking.S:134: Warning: division by zero
arch/sparc/mm/viking.S:134: Error: Illegal operands
arch/sparc/mm/viking.S:151: Error: bad expression
arch/sparc/mm/viking.S:151: Warning: division by zero
arch/sparc/mm/viking.S:151: Error: bad expression
arch/sparc/mm/viking.S:151: Warning: division by zero
arch/sparc/mm/viking.S:151: Error: bad expression
arch/sparc/mm/viking.S:151: Warning: division by zero
arch/sparc/mm/viking.S:151: Error: bad expression
arch/sparc/mm/viking.S:151: Warning: division by zero
arch/sparc/mm/viking.S:151: Error: bad expression
arch/sparc/mm/viking.S:151: Warning: division by zero
arch/sparc/mm/viking.S:151: Error: Illegal operands
arch/sparc/mm/viking.S:153: Error: bad expression
arch/sparc/mm/viking.S:153: Warning: division by zero
arch/sparc/mm/viking.S:153: Error: bad expression
arch/sparc/mm/viking.S:153: Warning: division by zero
arch/sparc/mm/viking.S:153: Error: bad expression
arch/sparc/mm/viking.S:153: Warning: division by zero
arch/sparc/mm/viking.S:153: Error: bad expression
arch/sparc/mm/viking.S:153: Warning: division by zero
arch/sparc/mm/viking.S:153: Error: bad expression
arch/sparc/mm/viking.S:153: Warning: division by zero
arch/sparc/mm/viking.S:153: Error: Illegal operands
arch/sparc/mm/viking.S:176: Error: bad expression
arch/sparc/mm/viking.S:176: Warning: division by zero
arch/sparc/mm/viking.S:176: Error: bad expression
arch/sparc/mm/viking.S:176: Warning: division by zero
arch/sparc/mm/viking.S:176: Error: bad expression
arch/sparc/mm/viking.S:176: Warning: division by zero
arch/sparc/mm/viking.S:176: Error: bad expression
arch/sparc/mm/viking.S:176: Warning: division by zero
arch/sparc/mm/viking.S:176: Error: bad expression
arch/sparc/mm/viking.S:176: Warning: division by zero
arch/sparc/mm/viking.S:176: Error: Illegal operands
arch/sparc/mm/viking.S:178: Error: bad expression
arch/sparc/mm/viking.S:178: Warning: division by zero
arch/sparc/mm/viking.S:178: Error: bad expression
arch/sparc/mm/viking.S:178: Warning: division by zero
arch/sparc/mm/viking.S:178: Error: bad expression
arch/sparc/mm/viking.S:178: Warning: division by zero
arch/sparc/mm/viking.S:178: Error: bad expression
arch/sparc/mm/viking.S:178: Warning: division by zero
arch/sparc/mm/viking.S:178: Error: bad expression
arch/sparc/mm/viking.S:178: Warning: division by zero
arch/sparc/mm/viking.S:178: Error: Illegal operands
--
arch/sparc/mm/tsunami.S: Assembler messages:
>> arch/sparc/mm/tsunami.S:27: Error: bad expression
>> arch/sparc/mm/tsunami.S:27: Warning: division by zero
>> arch/sparc/mm/tsunami.S:27: Error: bad expression
>> arch/sparc/mm/tsunami.S:27: Warning: division by zero
>> arch/sparc/mm/tsunami.S:27: Error: bad expression
>> arch/sparc/mm/tsunami.S:27: Warning: division by zero
>> arch/sparc/mm/tsunami.S:27: Error: bad expression
>> arch/sparc/mm/tsunami.S:27: Warning: division by zero
>> arch/sparc/mm/tsunami.S:27: Error: bad expression
>> arch/sparc/mm/tsunami.S:27: Warning: division by zero
>> arch/sparc/mm/tsunami.S:27: Error: Illegal operands
arch/sparc/mm/tsunami.S:29: Error: bad expression
arch/sparc/mm/tsunami.S:29: Warning: division by zero
arch/sparc/mm/tsunami.S:29: Error: bad expression
arch/sparc/mm/tsunami.S:29: Warning: division by zero
arch/sparc/mm/tsunami.S:29: Error: bad expression
arch/sparc/mm/tsunami.S:29: Warning: division by zero
arch/sparc/mm/tsunami.S:29: Error: bad expression
arch/sparc/mm/tsunami.S:29: Warning: division by zero
arch/sparc/mm/tsunami.S:29: Error: bad expression
arch/sparc/mm/tsunami.S:29: Warning: division by zero
arch/sparc/mm/tsunami.S:29: Error: Illegal operands
arch/sparc/mm/tsunami.S:49: Error: bad expression
arch/sparc/mm/tsunami.S:49: Warning: division by zero
arch/sparc/mm/tsunami.S:49: Error: bad expression
arch/sparc/mm/tsunami.S:49: Warning: division by zero
arch/sparc/mm/tsunami.S:49: Error: bad expression
arch/sparc/mm/tsunami.S:49: Warning: division by zero
arch/sparc/mm/tsunami.S:49: Error: bad expression
arch/sparc/mm/tsunami.S:49: Warning: division by zero
arch/sparc/mm/tsunami.S:49: Error: bad expression
arch/sparc/mm/tsunami.S:49: Warning: division by zero
arch/sparc/mm/tsunami.S:49: Error: Illegal operands
arch/sparc/mm/tsunami.S:51: Error: bad expression
arch/sparc/mm/tsunami.S:51: Warning: division by zero
arch/sparc/mm/tsunami.S:51: Error: bad expression
arch/sparc/mm/tsunami.S:51: Warning: division by zero
arch/sparc/mm/tsunami.S:51: Error: bad expression
arch/sparc/mm/tsunami.S:51: Warning: division by zero
arch/sparc/mm/tsunami.S:51: Error: bad expression
arch/sparc/mm/tsunami.S:51: Warning: division by zero
arch/sparc/mm/tsunami.S:51: Error: bad expression
arch/sparc/mm/tsunami.S:51: Warning: division by zero
arch/sparc/mm/tsunami.S:51: Error: Illegal operands
arch/sparc/mm/tsunami.S:68: Error: bad expression
arch/sparc/mm/tsunami.S:68: Warning: division by zero
arch/sparc/mm/tsunami.S:68: Error: bad expression
arch/sparc/mm/tsunami.S:68: Warning: division by zero
arch/sparc/mm/tsunami.S:68: Error: bad expression
arch/sparc/mm/tsunami.S:68: Warning: division by zero
arch/sparc/mm/tsunami.S:68: Error: bad expression
arch/sparc/mm/tsunami.S:68: Warning: division by zero
arch/sparc/mm/tsunami.S:68: Error: bad expression
arch/sparc/mm/tsunami.S:68: Warning: division by zero
arch/sparc/mm/tsunami.S:68: Error: Illegal operands
arch/sparc/mm/tsunami.S:70: Error: bad expression
arch/sparc/mm/tsunami.S:70: Warning: division by zero
arch/sparc/mm/tsunami.S:70: Error: bad expression
arch/sparc/mm/tsunami.S:70: Warning: division by zero
arch/sparc/mm/tsunami.S:70: Error: bad expression
arch/sparc/mm/tsunami.S:70: Warning: division by zero
arch/sparc/mm/tsunami.S:70: Error: bad expression
arch/sparc/mm/tsunami.S:70: Warning: division by zero
arch/sparc/mm/tsunami.S:70: Error: bad expression
arch/sparc/mm/tsunami.S:70: Warning: division by zero
arch/sparc/mm/tsunami.S:70: Error: Illegal operands
--
arch/sparc/mm/swift.S: Assembler messages:
>> arch/sparc/mm/swift.S:222: Error: bad expression
>> arch/sparc/mm/swift.S:222: Warning: division by zero
>> arch/sparc/mm/swift.S:222: Error: bad expression
>> arch/sparc/mm/swift.S:222: Warning: division by zero
>> arch/sparc/mm/swift.S:222: Error: bad expression
>> arch/sparc/mm/swift.S:222: Warning: division by zero
>> arch/sparc/mm/swift.S:222: Error: bad expression
>> arch/sparc/mm/swift.S:222: Warning: division by zero
>> arch/sparc/mm/swift.S:222: Error: bad expression
>> arch/sparc/mm/swift.S:222: Warning: division by zero
>> arch/sparc/mm/swift.S:222: Error: Illegal operands
arch/sparc/mm/swift.S:224: Error: bad expression
arch/sparc/mm/swift.S:224: Warning: division by zero
arch/sparc/mm/swift.S:224: Error: bad expression
arch/sparc/mm/swift.S:224: Warning: division by zero
arch/sparc/mm/swift.S:224: Error: bad expression
arch/sparc/mm/swift.S:224: Warning: division by zero
arch/sparc/mm/swift.S:224: Error: bad expression
arch/sparc/mm/swift.S:224: Warning: division by zero
arch/sparc/mm/swift.S:224: Error: bad expression
arch/sparc/mm/swift.S:224: Warning: division by zero
arch/sparc/mm/swift.S:224: Error: Illegal operands
arch/sparc/mm/swift.S:236: Error: bad expression
arch/sparc/mm/swift.S:236: Warning: division by zero
arch/sparc/mm/swift.S:236: Error: bad expression
arch/sparc/mm/swift.S:236: Warning: division by zero
arch/sparc/mm/swift.S:236: Error: bad expression
arch/sparc/mm/swift.S:236: Warning: division by zero
arch/sparc/mm/swift.S:236: Error: bad expression
arch/sparc/mm/swift.S:236: Warning: division by zero
arch/sparc/mm/swift.S:236: Error: bad expression
arch/sparc/mm/swift.S:236: Warning: division by zero
arch/sparc/mm/swift.S:236: Error: Illegal operands
arch/sparc/mm/swift.S:238: Error: bad expression
arch/sparc/mm/swift.S:238: Warning: division by zero
arch/sparc/mm/swift.S:238: Error: bad expression
arch/sparc/mm/swift.S:238: Warning: division by zero
arch/sparc/mm/swift.S:238: Error: bad expression
arch/sparc/mm/swift.S:238: Warning: division by zero
arch/sparc/mm/swift.S:238: Error: bad expression
arch/sparc/mm/swift.S:238: Warning: division by zero
arch/sparc/mm/swift.S:238: Error: bad expression
arch/sparc/mm/swift.S:238: Warning: division by zero
arch/sparc/mm/swift.S:238: Error: Illegal operands
vim +41 arch/sparc/mm/hypersparc.S
^1da177e Linus Torvalds 2005-04-16 25 hypersparc_flush_cache_all:
^1da177e Linus Torvalds 2005-04-16 26 WINDOW_FLUSH(%g4, %g5)
^1da177e Linus Torvalds 2005-04-16 27 sethi %hi(vac_cache_size), %g4
^1da177e Linus Torvalds 2005-04-16 28 ld [%g4 + %lo(vac_cache_size)], %g5
^1da177e Linus Torvalds 2005-04-16 29 sethi %hi(vac_line_size), %g1
^1da177e Linus Torvalds 2005-04-16 30 ld [%g1 + %lo(vac_line_size)], %g2
^1da177e Linus Torvalds 2005-04-16 31 1:
^1da177e Linus Torvalds 2005-04-16 32 subcc %g5, %g2, %g5 ! hyper_flush_unconditional_combined
^1da177e Linus Torvalds 2005-04-16 33 bne 1b
^1da177e Linus Torvalds 2005-04-16 34 sta %g0, [%g5] ASI_M_FLUSH_CTX
^1da177e Linus Torvalds 2005-04-16 35 retl
^1da177e Linus Torvalds 2005-04-16 36 sta %g0, [%g0] ASI_M_FLUSH_IWHOLE ! hyper_flush_whole_icache
^1da177e Linus Torvalds 2005-04-16 37
^1da177e Linus Torvalds 2005-04-16 38 /* We expand the window flush to get maximum performance. */
^1da177e Linus Torvalds 2005-04-16 39 hypersparc_flush_cache_mm:
^1da177e Linus Torvalds 2005-04-16 40 #ifndef CONFIG_SMP
^1da177e Linus Torvalds 2005-04-16 @41 ld [%o0 + AOFF_mm_context], %g1
^1da177e Linus Torvalds 2005-04-16 42 cmp %g1, -1
^1da177e Linus Torvalds 2005-04-16 43 be hypersparc_flush_cache_mm_out
^1da177e Linus Torvalds 2005-04-16 44 #endif
^1da177e Linus Torvalds 2005-04-16 45 WINDOW_FLUSH(%g4, %g5)
^1da177e Linus Torvalds 2005-04-16 46
^1da177e Linus Torvalds 2005-04-16 47 sethi %hi(vac_line_size), %g1
^1da177e Linus Torvalds 2005-04-16 48 ld [%g1 + %lo(vac_line_size)], %o1
^1da177e Linus Torvalds 2005-04-16 49 sethi %hi(vac_cache_size), %g2
:::::: The code at line 41 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