From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 198CCC433F5 for ; Sun, 3 Apr 2022 02:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wEzvUqNYO8k+gtyFa+U3lOuYqA/D9gDBsxr26qSkBIk=; b=kXJuDhpe/KuW1Q loX/1Y3nvQ8PdGiiFSDtqfugQTK1CBuahW7nVFUNLFPQ8e08IxzlbPewH1qBTlVq76BUK+VyNFQXz jk1ynu/hgzPV0R1umYM8zCRCl2eWU1Yf6QI3JQd6LPj1W0n27FByraO16oDP1BpaeIhEdyL5gw/9u dRa5z37hcilneJLkCNMnCzxriaDctgkA5pl2P6E+IAt//yp5oFb4XOpJOjCuNOWxGWcev8HiIrLsC EvP6vrGZ8wV+WwRwI9PPuNxM8I0mi6pWnx++7cia3+6sL/7Mgh1tg+j+nOSTlfBikHq59LVMpmyUk okrg4PvmcN6u1qu+etTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naqH1-00AVPf-8c; Sun, 03 Apr 2022 02:47:27 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naqGx-00AVPG-90 for linux-arm-kernel@lists.infradead.org; Sun, 03 Apr 2022 02:47:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648954043; x=1680490043; h=date:from:to:cc:subject:message-id:mime-version; bh=wu2w+xeDwsdHUHQKzq6qWGhCaUiVsrajmVEMfMcaLTo=; b=U3PQr8hZOwp0awbqo7HWaFj/yibz1sruVTiDxFN/LnjvrYI0I4DpLD7y cKj7VBiYIISxRwFeD3sZtmfyRyA6ykQ5oaOsiGduGgMvk9BKN1H6GJ1rQ UKEcwd5kcgM9i1+jMy0JrhLwerdW5+VJQfFlpkGd15nWdpwXGgsriydoQ jdcweBXIIOD3B9rMwMk+gIO1CU4XZGuIakadE3ELFhIka80TCGKNPsL0q 8Ous+8vknEYsa7qs4TA5IB4NnldkLek4f6gkXyPL8QbCiJnDZIW3S8do2 mV615y/fuMUKIMMo0EeoY9egwnzi57Ym0iFhXW+nRKbVydYdHPJVDLMWg Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10305"; a="260337953" X-IronPort-AV: E=Sophos;i="5.90,231,1643702400"; d="scan'208";a="260337953" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2022 19:47:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,231,1643702400"; d="scan'208";a="607512252" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 02 Apr 2022 19:47:18 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1naqGs-0000fJ-6B; Sun, 03 Apr 2022 02:47:18 +0000 Date: Sun, 3 Apr 2022 10:46:43 +0800 From: kernel test robot To: Arnd Bergmann 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" Message-ID: <202204031037.ZIEpc6x9-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220402_194723_922990_3543CB55 X-CRM114-Status: GOOD ( 11.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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 :::::: CC: David Howells -- 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