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 X-Spam-Level: X-Spam-Status: No, score=-10.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 542C3C4338F for ; Thu, 5 Aug 2021 10:28:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3593F6105A for ; Thu, 5 Aug 2021 10:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240241AbhHEK2u (ORCPT ); Thu, 5 Aug 2021 06:28:50 -0400 Received: from mga04.intel.com ([192.55.52.120]:40531 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234785AbhHEK2r (ORCPT ); Thu, 5 Aug 2021 06:28:47 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10066"; a="212263377" X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="212263377" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 03:28:30 -0700 X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="512635500" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.31.111]) ([10.255.31.111]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 03:28:28 -0700 Subject: Re: [kbuild-all] Re: make[2]: *** [arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 To: Randy Dunlap , kernel test robot , Feng Tang Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Michael Ellerman References: <202107301612.rQ29n76B-lkp@intel.com> From: "Chen, Rong A" Message-ID: <176ab0a5-72dd-dc24-be64-6919cffba9ed@intel.com> Date: Thu, 5 Aug 2021 18:28:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/4/2021 11:10 AM, Randy Dunlap wrote: > On 7/30/21 1:29 AM, kernel test robot wrote: >> tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head:   764a5bc89b12b82c18ce7ca5d7c1b10dd748a440 >> commit: cf536e185869d4815d506e777bcca6edd9966a6e Makefile: extend 32B >> aligned debug option to 64B aligned >> date:   10 weeks ago >> config: powerpc64-randconfig-c023-20210730 (attached as .config) >> compiler: powerpc-linux-gcc (GCC) 10.3.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/torvalds/linux.git/commit/?id=cf536e185869d4815d506e777bcca6edd9966a6e >> >>          git remote add linus >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>          git fetch --no-tags linus master >>          git checkout cf536e185869d4815d506e777bcca6edd9966a6e >>          # save the attached .config to linux build tree >>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 >> make.cross ARCH=powerpc64 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> make[2]: *** [arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 >> >> --- > > Hi ktr/lkp, > > This is not "All errors". I suggest that you improve your output by > (also) grepping for "ERROR:", so that the following lines would be > included here: > > ERROR: start_text address is c000000000000200, should be c000000000000100 > ERROR: try to enable LD_HEAD_STUB_CATCH config option > ERROR: see comments in arch/powerpc/tools/head_check.sh Hi Randy, Thanks for the advice, the "ERROR:" lines weren't redirected to stderr, so the bot didn't notice them, it looks difficult to change the output. Best Regards, Rong Chen > > > and yes, enabling LD_HEAD_STUB_CATCH does fix this build error. > > thanks.