* [soc:multiplatform-misc-5.18 13/13] arch/arm/include/asm/cmpxchg.h:128:2: error: #error "SMP is not supported on this platform"
@ 2022-04-03 2:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-03 2:46 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kbuild-all, linux-arm-kernel, arm
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-03 2:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 2:46 [soc:multiplatform-misc-5.18 13/13] arch/arm/include/asm/cmpxchg.h:128:2: error: #error "SMP is not supported on this platform" kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.