From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
arm@kernel.org
Subject: [soc:multiplatform-misc-5.18 13/13] arch/arm/include/asm/cmpxchg.h:128:2: error: #error "SMP is not supported on this platform"
Date: Sun, 3 Apr 2022 10:46:43 +0800 [thread overview]
Message-ID: <202204031037.ZIEpc6x9-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git multiplatform-misc-5.18
head: 9e48eacd8cb623d8638d06d0f3c523d5222e2e82
commit: 9e48eacd8cb623d8638d06d0f3c523d5222e2e82 [13/13] ARM: ixp4xx: enable multiplatform support
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220403/202204031037.ZIEpc6x9-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=9e48eacd8cb623d8638d06d0f3c523d5222e2e82
git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
git fetch --no-tags soc multiplatform-misc-5.18
git checkout 9e48eacd8cb623d8638d06d0f3c523d5222e2e82
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
In file included from arch/arm/include/asm/atomic.h:16,
from include/linux/atomic.h:7,
from include/asm-generic/bitops/lock.h:5,
from arch/arm/include/asm/bitops.h:243,
from include/linux/bitops.h:33,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> arch/arm/include/asm/cmpxchg.h:128:2: error: #error "SMP is not supported on this platform"
128 | #error "SMP is not supported on this platform"
| ^~~~~
In file included from arch/arm/include/asm/cmpxchg.h:146,
from arch/arm/include/asm/atomic.h:16,
from include/linux/atomic.h:7,
from include/asm-generic/bitops/lock.h:5,
from arch/arm/include/asm/bitops.h:243,
from include/linux/bitops.h:33,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> include/asm-generic/cmpxchg.h:11:2: error: #error "Cannot use generic cmpxchg on SMP"
11 | #error "Cannot use generic cmpxchg on SMP"
| ^~~~~
In file included from include/linux/atomic.h:7,
from include/asm-generic/bitops/lock.h:5,
from arch/arm/include/asm/bitops.h:243,
from include/linux/bitops.h:33,
from include/linux/log2.h:12,
from kernel/bounds.c:13:
>> arch/arm/include/asm/atomic.h:159:2: error: #error SMP not supported on pre-ARMv6 CPUs
159 | #error SMP not supported on pre-ARMv6 CPUs
| ^~~~~
make[2]: *** [scripts/Makefile.build:120: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1198: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +128 arch/arm/include/asm/cmpxchg.h
9f97da78bf01820 David Howells 2012-03-28 126
9f97da78bf01820 David Howells 2012-03-28 127 #ifdef CONFIG_SMP
9f97da78bf01820 David Howells 2012-03-28 @128 #error "SMP is not supported on this platform"
9f97da78bf01820 David Howells 2012-03-28 129 #endif
9f97da78bf01820 David Howells 2012-03-28 130
:::::: The code at line 128 was first introduced by commit
:::::: 9f97da78bf018206fb623cd351d454af2f105fe0 Disintegrate asm/system.h for ARM
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reply other threads:[~2022-04-03 2:48 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=202204031037.ZIEpc6x9-lkp@intel.com \
--to=lkp@intel.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).