From: kbuild test robot <lkp@intel.com>
To: Tycho Andersen <tycho@docker.com>
Cc: kbuild-all@01.org, "Yann E . MORIN" <yann.morin.1998@free.fr>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Tycho Andersen <tycho@docker.com>,
Roman Zippel <zippel@linux-m68k.org>
Subject: Re: [PATCH] kconfig: always use user input symbols
Date: Mon, 22 May 2017 14:53:43 +0800 [thread overview]
Message-ID: <201705221400.GLOO9n1t%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170519150813.27845-1-tycho@docker.com>
[-- Attachment #1: Type: text/plain, Size: 3882 bytes --]
Hi Tycho,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc2 next-20170522]
[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/Tycho-Andersen/kconfig-always-use-user-input-symbols/20170522-143552
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/bitops.h:16:0,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/asm-generic/bug.h:15,
from arch/x86/include/asm/bug.h:81,
from include/linux/bug.h:4,
from include/linux/page-flags.h:9,
from kernel/bounds.c:9:
arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight64':
>> arch/x86/include/asm/arch_hweight.h:54:42: error: expected ':' or ')' before 'POPCNT64'
asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)
^
arch/x86/include/asm/alternative.h:132:28: note: in definition of macro 'ALTINSTR_REPLACEMENT'
b_replacement(num)":\n\t" newinstr "\n" e_replacement(num) ":\n\t"
^~~~~~~~
>> arch/x86/include/asm/arch_hweight.h:54:7: note: in expansion of macro 'ALTERNATIVE'
asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)
^~~~~~~~~~~
make[2]: *** [kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +54 arch/x86/include/asm/arch_hweight.h
d61931d8 Borislav Petkov 2010-03-05 38 static inline unsigned int __arch_hweight8(unsigned int w)
d61931d8 Borislav Petkov 2010-03-05 39 {
d61931d8 Borislav Petkov 2010-03-05 40 return __arch_hweight32(w & 0xff);
d61931d8 Borislav Petkov 2010-03-05 41 }
d61931d8 Borislav Petkov 2010-03-05 42
d14edb16 Denys Vlasenko 2015-08-04 43 #ifdef CONFIG_X86_32
d61931d8 Borislav Petkov 2010-03-05 44 static inline unsigned long __arch_hweight64(__u64 w)
d61931d8 Borislav Petkov 2010-03-05 45 {
d61931d8 Borislav Petkov 2010-03-05 46 return __arch_hweight32((u32)w) +
d61931d8 Borislav Petkov 2010-03-05 47 __arch_hweight32((u32)(w >> 32));
d14edb16 Denys Vlasenko 2015-08-04 48 }
d61931d8 Borislav Petkov 2010-03-05 49 #else
d14edb16 Denys Vlasenko 2015-08-04 50 static __always_inline unsigned long __arch_hweight64(__u64 w)
d14edb16 Denys Vlasenko 2015-08-04 51 {
f5967101 Borislav Petkov 2016-05-30 52 unsigned long res;
d14edb16 Denys Vlasenko 2015-08-04 53
c59bd568 H. Peter Anvin 2010-05-17 @54 asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)
d61931d8 Borislav Petkov 2010-03-05 55 : "="REG_OUT (res)
d61931d8 Borislav Petkov 2010-03-05 56 : REG_IN (w));
d61931d8 Borislav Petkov 2010-03-05 57
d61931d8 Borislav Petkov 2010-03-05 58 return res;
d61931d8 Borislav Petkov 2010-03-05 59 }
d14edb16 Denys Vlasenko 2015-08-04 60 #endif /* CONFIG_X86_32 */
d61931d8 Borislav Petkov 2010-03-05 61
d61931d8 Borislav Petkov 2010-03-05 62 #endif
:::::: The code at line 54 was first introduced by commit
:::::: c59bd5688299cddb71183e156e7a3c1409b90df2 x86, hweight: Use a 32-bit popcnt for __arch_hweight32()
:::::: TO: H. Peter Anvin <hpa@linux.intel.com>
:::::: CC: H. Peter Anvin <hpa@linux.intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73686 bytes --]
next prev parent reply other threads:[~2017-05-22 6:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-19 15:08 Tycho Andersen
2017-05-19 17:29 ` Geert Uytterhoeven
2017-05-19 18:09 ` Tycho Andersen
2017-05-22 6:53 ` kbuild test robot [this message]
2017-05-22 7:48 ` kbuild test robot
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=201705221400.GLOO9n1t%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tycho@docker.com \
--cc=yann.morin.1998@free.fr \
--cc=zippel@linux-m68k.org \
/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
all inboxes | Powered by JetHome®