* [jpoimboe:klp-build-v1.5 29/32] arch/x86/include/asm/arch_hweight.h:19:7: error: expected ')'
@ 2024-09-11 11:24 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-11 11:24 UTC (permalink / raw)
To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git klp-build-v1.5
head: 2abe29f4f173c4090c0030c43c30053694b1658a
commit: 62e666a6052abd6142d52405ea99e83ab7d48a83 [29/32] x86/alternative: Create symbols for special section entries
config: i386-defconfig (https://download.01.org/0day-ci/archive/20240911/202409111934.EbkOedyQ-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240911/202409111934.EbkOedyQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409111934.EbkOedyQ-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/bounds.c:13:
In file included from include/linux/log2.h:12:
In file included from include/linux/bitops.h:68:
In file included from arch/x86/include/asm/bitops.h:428:
>> arch/x86/include/asm/arch_hweight.h:19:7: error: expected ')'
19 | asm (ALTERNATIVE("call __sw_hweight32", "popcntl %1, %0", X86_FEATURE_POPCNT)
| ^
arch/x86/include/asm/alternative.h:192:2: note: expanded from macro 'ALTERNATIVE'
192 | ALTINSTR_ENTRY(ft_flags) \
| ^
arch/x86/include/asm/alternative.h:173:2: note: expanded from macro 'ALTINSTR_ENTRY'
173 | FAKE_SYMBOL(__alt_entry_, 776f) \
| ^
1 error generated.
make[3]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1194: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +19 arch/x86/include/asm/arch_hweight.h
d61931d89be506 Borislav Petkov 2010-03-05 14
d14edb1648221e Denys Vlasenko 2015-08-04 15 static __always_inline unsigned int __arch_hweight32(unsigned int w)
d61931d89be506 Borislav Petkov 2010-03-05 16 {
f5967101e9de12 Borislav Petkov 2016-05-30 17 unsigned int res;
d61931d89be506 Borislav Petkov 2010-03-05 18
566b62a3676cae Uros Bizjak 2018-10-14 @19 asm (ALTERNATIVE("call __sw_hweight32", "popcntl %1, %0", X86_FEATURE_POPCNT)
d61931d89be506 Borislav Petkov 2010-03-05 20 : "="REG_OUT (res)
d61931d89be506 Borislav Petkov 2010-03-05 21 : REG_IN (w));
d61931d89be506 Borislav Petkov 2010-03-05 22
d61931d89be506 Borislav Petkov 2010-03-05 23 return res;
d61931d89be506 Borislav Petkov 2010-03-05 24 }
d61931d89be506 Borislav Petkov 2010-03-05 25
:::::: The code at line 19 was first introduced by commit
:::::: 566b62a3676caed1f8c626e26066ff3ae3a38918 x86: Use POPCNT mnemonics in arch_hweight.h
:::::: TO: Uros Bizjak <ubizjak@gmail.com>
:::::: CC: Borislav Petkov <bp@suse.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-11 11:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11 11:24 [jpoimboe:klp-build-v1.5 29/32] arch/x86/include/asm/arch_hweight.h:19:7: error: expected ')' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox