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=-15.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,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 ECF6DC433E0 for ; Mon, 8 Feb 2021 06:29:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 40BAC64E6C for ; Mon, 8 Feb 2021 06:29:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40BAC64E6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 471B86B006E; Mon, 8 Feb 2021 01:29:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 420756B0070; Mon, 8 Feb 2021 01:29:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3365C6B0071; Mon, 8 Feb 2021 01:29:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0051.hostedemail.com [216.40.44.51]) by kanga.kvack.org (Postfix) with ESMTP id 1FC026B006E for ; Mon, 8 Feb 2021 01:29:42 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id DEBD83631 for ; Mon, 8 Feb 2021 06:29:41 +0000 (UTC) X-FDA: 77794124562.13.sense84_3b0ca68275fc Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id BAED418140B60 for ; Mon, 8 Feb 2021 06:29:41 +0000 (UTC) X-HE-Tag: sense84_3b0ca68275fc X-Filterd-Recvd-Size: 5043 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf03.hostedemail.com (Postfix) with ESMTP for ; Mon, 8 Feb 2021 06:29:40 +0000 (UTC) IronPort-SDR: ApAQFeKN7yBXXSfIO48LVjZEymKpi+MF9I7bMtWhYCRAi+wnRV8b2tKR0jPyCU4+Oq40HzPaDf puUzoIYPhiDQ== X-IronPort-AV: E=McAfee;i="6000,8403,9888"; a="160822998" X-IronPort-AV: E=Sophos;i="5.81,161,1610438400"; d="scan'208";a="160822998" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2021 22:29:38 -0800 IronPort-SDR: FTmV5b++GuUrixnCBl8jFapMMjqR8U4tMHmt2gI7Nh3n888Xio91cv1ORzhV9XhclqNYPabt6x GV8sjI21DYNw== X-IronPort-AV: E=Sophos;i="5.81,161,1610438400"; d="scan'208";a="435505901" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.11]) ([10.239.13.11]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2021 22:29:36 -0800 Subject: Re: [linux-next:master 3035/6048] sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file To: Souptick Joarder , kernel test robot Cc: Gabriel Somlo , kbuild-all@lists.01.org, Linux Memory Management List , Stafford Horne References: <202101261118.GbbYSlHu-lkp@intel.com> From: Rong Chen Message-ID: Date: Mon, 8 Feb 2021 14:29:05 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 1/28/21 12:05 PM, Souptick Joarder wrote: > On Tue, Jan 26, 2021 at 8:46 AM kernel test robot wrote= : >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-nex= t.git master >> head: 59fa6a163ffabc1bf25c5e0e33899e268a96d3cc >> commit: 9d93a9e8aab3f82b6742dd034a6a81d4025cd82e [3035/6048] drivers/s= oc/litex: move generic accessors to litex.h >> config: sh-randconfig-r025-20210125 (attached as .config) >> compiler: sh4-linux-gcc (GCC) 9.3.0 >> reproduce (this is a W=3D1 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/next/linux-= next.git/commit/?id=3D9d93a9e8aab3f82b6742dd034a6a81d4025cd82e >> git remote add linux-next https://git.kernel.org/pub/scm/linu= x/kernel/git/next/linux-next.git >> git fetch --no-tags linux-next master >> git checkout 9d93a9e8aab3f82b6742dd034a6a81d4025cd82e >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.= cross ARCH=3Dsh >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file > This file exists and required are also enabled. Hi Souptick, The issue is related to ARCH sh if ftrace enabled in kconfig file: $ make CROSS_COMPILE=3Dsh4-linux- ARCH=3Dsh M=3Ddrivers/soc/litex =C2=A0 CC [M]=C2=A0 drivers/soc/litex/litex_soc_ctrl.o sh4-linux-objcopy: Unable to change endianness of input file(s) sh4-linux-ld: cannot find drivers/soc/litex/.tmp_gl_litex_soc_ctrl.o: No=20 such file or directory sh4-linux-objcopy: 'drivers/soc/litex/.tmp_mx_litex_soc_ctrl.o': No such=20 file rm: cannot remove 'drivers/soc/litex/.tmp_gl_litex_soc_ctrl.o': No such=20 file or directory rm: cannot remove 'drivers/soc/litex/.tmp_mx_litex_soc_ctrl.o': No such=20 file or directory sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file WARNING: Symbol version dump "Module.symvers" is missing. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Modules may not have de= pendencies or modversions. =C2=A0 MODPOST drivers/soc/litex/Module.symvers drivers/soc/litex/litex_soc_ctrl.o: No such file or directory make[1]: *** [scripts/Makefile.modpost:111:=20 drivers/soc/litex/Module.symvers] Error 1 make: *** [Makefile:1709: modules] Error 2 and the below change can fix it. diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 56c801502b9a..867860ea57da 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -265,7 +265,11 @@ if ($arch eq "x86_64") { =C2=A0=C2=A0=C2=A0=C2=A0 # force flags for this arch =C2=A0=C2=A0=C2=A0=C2=A0 $ld .=3D " -m shlelf_linux"; -=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-sh-linux"; +=C2=A0=C2=A0=C2=A0 if ($endian eq "big") { +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-shbi= g-linux"; +=C2=A0=C2=A0=C2=A0 } else { +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-sh-l= inux"; +=C2=A0=C2=A0=C2=A0 } =C2=A0} elsif ($arch eq "powerpc") { =C2=A0=C2=A0=C2=A0=C2=A0 my $ldemulation; Best Regards, Rong Chen From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3473774921054901521==" MIME-Version: 1.0 From: Rong Chen To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 3035/6048] sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file Date: Mon, 08 Feb 2021 14:29:05 +0800 Message-ID: In-Reply-To: List-Id: --===============3473774921054901521== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 1/28/21 12:05 PM, Souptick Joarder wrote: > On Tue, Jan 26, 2021 at 8:46 AM kernel test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.= git master >> head: 59fa6a163ffabc1bf25c5e0e33899e268a96d3cc >> commit: 9d93a9e8aab3f82b6742dd034a6a81d4025cd82e [3035/6048] drivers/soc= /litex: move generic accessors to litex.h >> config: sh-randconfig-r025-20210125 (attached as .config) >> compiler: sh4-linux-gcc (GCC) 9.3.0 >> reproduce (this is a W=3D1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git/commit/?id=3D9d93a9e8aab3f82b6742dd034a6a81d4025cd82e >> git remote add linux-next https://git.kernel.org/pub/scm/linux/= kernel/git/next/linux-next.git >> git fetch --no-tags linux-next master >> git checkout 9d93a9e8aab3f82b6742dd034a6a81d4025cd82e >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cr= oss ARCH=3Dsh >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file > This file exists and required are also enabled. Hi Souptick, The issue is related to ARCH sh if ftrace enabled in kconfig file: $ make CROSS_COMPILE=3Dsh4-linux- ARCH=3Dsh M=3Ddrivers/soc/litex =C2=A0 CC [M]=C2=A0 drivers/soc/litex/litex_soc_ctrl.o sh4-linux-objcopy: Unable to change endianness of input file(s) sh4-linux-ld: cannot find drivers/soc/litex/.tmp_gl_litex_soc_ctrl.o: No = such file or directory sh4-linux-objcopy: 'drivers/soc/litex/.tmp_mx_litex_soc_ctrl.o': No such = file rm: cannot remove 'drivers/soc/litex/.tmp_gl_litex_soc_ctrl.o': No such = file or directory rm: cannot remove 'drivers/soc/litex/.tmp_mx_litex_soc_ctrl.o': No such = file or directory sh4-linux-nm: 'drivers/soc/litex/litex_soc_ctrl.o': No such file WARNING: Symbol version dump "Module.symvers" is missing. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Modules may not have depe= ndencies or modversions. =C2=A0 MODPOST drivers/soc/litex/Module.symvers drivers/soc/litex/litex_soc_ctrl.o: No such file or directory make[1]: *** [scripts/Makefile.modpost:111: = drivers/soc/litex/Module.symvers] Error 1 make: *** [Makefile:1709: modules] Error 2 and the below change can fix it. diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 56c801502b9a..867860ea57da 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -265,7 +265,11 @@ if ($arch eq "x86_64") { =C2=A0=C2=A0=C2=A0=C2=A0 # force flags for this arch =C2=A0=C2=A0=C2=A0=C2=A0 $ld .=3D " -m shlelf_linux"; -=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-sh-linux"; +=C2=A0=C2=A0=C2=A0 if ($endian eq "big") { +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-shbig-= linux"; +=C2=A0=C2=A0=C2=A0 } else { +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $objcopy .=3D " -O elf32-sh-lin= ux"; +=C2=A0=C2=A0=C2=A0 } =C2=A0} elsif ($arch eq "powerpc") { =C2=A0=C2=A0=C2=A0=C2=A0 my $ldemulation; Best Regards, Rong Chen --===============3473774921054901521==--