arch/powerpc/kernel/swsusp_asm64.S:188: Error: missing operand

From: kbuild test robot
Date: Sat Feb 27 2016 - 22:09:19 EST


Hi Anton,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 12b9fa6a97b3150477ab182e321be512b59fa899
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 9 months ago
config: powerpc-allmodconfig (attached as .config)
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 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

arch/powerpc/kernel/swsusp_asm64.S: Assembler messages:
>> arch/powerpc/kernel/swsusp_asm64.S:188: Error: missing operand
--
/tmp/ccNMqukp.s: Assembler messages:
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_set_encrypt_key does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_set_decrypt_key does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_set_decrypt_key does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_encrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_encrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_decrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_decrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_cbc_encrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_cbc_encrypt does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for aes_p8_ctr32_encrypt_blocks does not evaluate to a constant
>> /tmp/ccNMqukp.s: Error: .size expression for .aes_p8_ctr32_encrypt_blocks does not evaluate to a constant
--
/tmp/ccLctjWq.s: Assembler messages:
>> /tmp/ccLctjWq.s: Error: .size expression for gcm_init_p8 does not evaluate to a constant
>> /tmp/ccLctjWq.s: Error: .size expression for .gcm_init_p8 does not evaluate to a constant
>> /tmp/ccLctjWq.s: Error: .size expression for gcm_gmult_p8 does not evaluate to a constant
>> /tmp/ccLctjWq.s: Error: .size expression for .gcm_gmult_p8 does not evaluate to a constant
>> /tmp/ccLctjWq.s: Error: .size expression for gcm_ghash_p8 does not evaluate to a constant
>> /tmp/ccLctjWq.s: Error: .size expression for .gcm_ghash_p8 does not evaluate to a constant

vim +188 arch/powerpc/kernel/swsusp_asm64.S

5a31057f Wang Dongsheng 2013-08-08 172 #ifdef CONFIG_PPC_BOOK3S_64
543b9fd3 Johannes Berg 2007-05-03 173 /* flush caches */
543b9fd3 Johannes Berg 2007-05-03 174 lis r3, 0x10
543b9fd3 Johannes Berg 2007-05-03 175 mtctr r3
543b9fd3 Johannes Berg 2007-05-03 176 li r3, 0
543b9fd3 Johannes Berg 2007-05-03 177 ori r3, r3, CONFIG_KERNEL_START>>48
543b9fd3 Johannes Berg 2007-05-03 178 li r0, 48
543b9fd3 Johannes Berg 2007-05-03 179 sld r3, r3, r0
543b9fd3 Johannes Berg 2007-05-03 180 li r0, 0
543b9fd3 Johannes Berg 2007-05-03 181 1:
543b9fd3 Johannes Berg 2007-05-03 182 dcbf r0,r3
543b9fd3 Johannes Berg 2007-05-03 183 addi r3,r3,0x20
543b9fd3 Johannes Berg 2007-05-03 184 bdnz 1b
543b9fd3 Johannes Berg 2007-05-03 185
543b9fd3 Johannes Berg 2007-05-03 186 sync
543b9fd3 Johannes Berg 2007-05-03 187
543b9fd3 Johannes Berg 2007-05-03 @188 tlbia
5a31057f Wang Dongsheng 2013-08-08 189 #endif
543b9fd3 Johannes Berg 2007-05-03 190
543b9fd3 Johannes Berg 2007-05-03 191 ld r11,swsusp_save_area_ptr@toc(r2)
543b9fd3 Johannes Berg 2007-05-03 192
543b9fd3 Johannes Berg 2007-05-03 193 RESTORE_SPECIAL(CR)
543b9fd3 Johannes Berg 2007-05-03 194
543b9fd3 Johannes Berg 2007-05-03 195 /* restore timebase */
543b9fd3 Johannes Berg 2007-05-03 196 /* load saved tb */

:::::: The code at line 188 was first introduced by commit
:::::: 543b9fd3528f64c4b20439de0edb453764482de7 [POWERPC] powermac: Suspend to disk on G5

:::::: TO: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
:::::: CC: Paul Mackerras <paulus@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data