Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp202001rwd; Sat, 13 May 2023 16:33:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yB+CUldZVahFJfQWzQytsecrpcWc0KKFBUBqj909X0LM4wRo+nlmXlJgzfX3ejz8OLg/h X-Received: by 2002:a05:6a20:8e07:b0:101:8f00:595f with SMTP id y7-20020a056a208e0700b001018f00595fmr19036993pzj.44.1684020823139; Sat, 13 May 2023 16:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684020823; cv=none; d=google.com; s=arc-20160816; b=b7/+dGxlUVxDQ2vJVRHNvHsra361KmC3BBGGL78VjyGcNq7bYR9wPKvLvG0eZLXaJF 7UuVHWi1A+73c/SqQPb0V0jS/qcPGeXMRP4y0n+/KgPkDggQNYX8K1Y0ZM2ks0P2EWlb GyTUNJ2Ty4nSTZNvt9Bt/18yaoLvcFGhXlnxqZBW6Bh5x1gGw39w2zPHCZuwvatAfxCY bKT6riUnITru3m5soBqgpk8dxwsKqcJ7Ma6IMTzbam3+HdRXxUoDE1+K3Jxhsjwlxb2Y LYnS19tBAj+ySGPqP+C/+DJulkIVaMKY2ZJtx93DUDlcw5xnFy0wE2UWIlOOk0SIqnBb B7fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=H3xlMPnHb63hrqx3mHbm7JzCO42NiY+H7+bV7bxaui4=; b=P9aMojw1MfHgBJ/pD78QgRckg5bS8BIwcSMrZLnneGQ98mk+wym4VL2GXl/0fuTwvB D9vBTQwrHbXh+8xi4drQeDh/vOFDmj+vADuaBqM+OysI4JoDc+mVtnjjXzwnlWN5L2va ESvYj1JlQcMiFzBlhe9PgLuhy8u2TsjP9gGCryKZZ9VPxue2nRvDtLHHOcJuqCfpJxhi 44nf6gQbSx/lBIheM54zuwHumfdOC+oQ1BJ5024wXQpWjeKqqc8dZUxlRUYBII2uQH9v bIPqlmzKwXyAVio8aX6niPXWj9q/FLfllyeN1b002weaiDMm2G43syAKu40En3nOGWck 42Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K8eV+aXO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a2-20020a637042000000b00519a8f54d2esi12396310pgn.479.2023.05.13.16.33.31; Sat, 13 May 2023 16:33:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K8eV+aXO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231185AbjEMXUY (ORCPT + 99 others); Sat, 13 May 2023 19:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjEMXUW (ORCPT ); Sat, 13 May 2023 19:20:22 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BA492700; Sat, 13 May 2023 16:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684020020; x=1715556020; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rEjsC050EnB334yNVCRh3vB5CJVdTb9qovPvhznaKOM=; b=K8eV+aXOeDwwV/lEGYvHO+llmudZmqiV5lij9IHpeD+DT7mRgx2zSZ9f X4NsmWG634l0S7fY7mjkD0fW25HxU9oUE/wt3w6x0L+BA+aaGRK61DYmF FFRenDA6+0sBsbag176FR7aq75LVgx3DzD0NHBk/5vt2vXC/0S4zNppUd hNtrVT/Yec7AgQZyee+DX4qd8xxWdfvJOhjQRZ9yzLQ6YiLgtUFRAPeJU CQ04APNQ09/gZfnktwjhGSkEelgF/vHF50t4YsmPjH2Ce/1hGU9DBEDDp 8q5Ax4ekXCHauT3shxRtsgc3IftMDDU/hxCxTy/twkvrzX6TAGIehgXHn w==; X-IronPort-AV: E=McAfee;i="6600,9927,10709"; a="353261154" X-IronPort-AV: E=Sophos;i="5.99,273,1677571200"; d="scan'208";a="353261154" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2023 16:20:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10709"; a="812487054" X-IronPort-AV: E=Sophos;i="5.99,273,1677571200"; d="scan'208";a="812487054" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 13 May 2023 16:20:18 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxyXB-0005it-1K; Sat, 13 May 2023 23:20:17 +0000 Date: Sun, 14 May 2023 07:19:32 +0800 From: kernel test robot To: Genjian , tsbogend@alpha.franken.de, rdunlap@infradead.org Cc: oe-kbuild-all@lists.linux.dev, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, zhanggenjian123@gmail.com, Genjian Zhang , k2ci Subject: Re: [PATCH v2] fix ___SYNC () build error when PROFILE_ALL_BRANCHES is enabled Message-ID: <202305140702.w0bg48FH-lkp@intel.com> References: <20230427150332.2978867-1-zhanggenjian@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230427150332.2978867-1-zhanggenjian@kylinos.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Genjian, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.4-rc1 next-20230512] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Genjian/fix-___SYNC-build-error-when-PROFILE_ALL_BRANCHES-is-enabled/20230427-230626 base: linus/master patch link: https://lore.kernel.org/r/20230427150332.2978867-1-zhanggenjian%40kylinos.cn patch subject: [PATCH v2] fix ___SYNC () build error when PROFILE_ALL_BRANCHES is enabled config: mips-decstation_defconfig (https://download.01.org/0day-ci/archive/20230514/202305140702.w0bg48FH-lkp@intel.com/config) compiler: mipsel-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/6eb50851d61ca808629a062e0545704eba5be950 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Genjian/fix-___SYNC-build-error-when-PROFILE_ALL_BRANCHES-is-enabled/20230427-230626 git checkout 6eb50851d61ca808629a062e0545704eba5be950 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305140702.w0bg48FH-lkp@intel.com/ All errors (new ones prefixed by >>): init/main.c:779:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes] 779 | void __init __weak arch_post_acpi_subsys_init(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init/main.c:791:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 791 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:793:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 793 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2288: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional >> {standard input}:2288: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:131: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:131: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:245: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:245: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:139: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:898: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:67: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:149: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- arch/mips/kernel/syscall.c:51:16: warning: no previous prototype for 'sysm_pipe' [-Wmissing-prototypes] 51 | asmlinkage int sysm_pipe(void) | ^~~~~~~~~ {standard input}: Assembler messages: {standard input}:356: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:356: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:178: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:878: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:90: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:169: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:35: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:513: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:100: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:138: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly -- {standard input}: Assembler messages: {standard input}:44: Error: non-constant expression in ".if" statement >> {standard input}: Error: end of file inside conditional {standard input}:332: Error: here is the start of the unterminated conditional {standard input}: Warning: missing .end at end of assembly .. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests