From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jpoimboe:klp-build-v1.5 29/32] arch/x86/include/asm/arch_hweight.h:19:7: error: expected ')'
Date: Wed, 11 Sep 2024 19:24:16 +0800 [thread overview]
Message-ID: <202409111934.EbkOedyQ-lkp@intel.com> (raw)
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
reply other threads:[~2024-09-11 11:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202409111934.EbkOedyQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=jpoimboe@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox