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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B9BAEC48BDF for ; Fri, 18 Jun 2021 15:20:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 156C2613F9 for ; Fri, 18 Jun 2021 15:20:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 156C2613F9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ADF146B0082; Fri, 18 Jun 2021 11:20:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A8F686B0083; Fri, 18 Jun 2021 11:20:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 958216B0085; Fri, 18 Jun 2021 11:20:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0198.hostedemail.com [216.40.44.198]) by kanga.kvack.org (Postfix) with ESMTP id 62B806B0082 for ; Fri, 18 Jun 2021 11:20:23 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 0D49998AB for ; Fri, 18 Jun 2021 15:20:23 +0000 (UTC) X-FDA: 78267205926.30.7A7C971 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [85.220.165.71]) by imf26.hostedemail.com (Postfix) with ESMTP id 2D8A94202A29 for ; Fri, 18 Jun 2021 15:20:22 +0000 (UTC) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luGI0-0003mh-7M; Fri, 18 Jun 2021 17:20:12 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1luGHy-0003ik-S4; Fri, 18 Jun 2021 17:20:10 +0200 Message-ID: <02b33fbe07720d29c112fe1ed5713f532319f215.camel@pengutronix.de> Subject: Re: [linux-next:master 5946/11253] ld.lld: error: undefined symbol: reset_controller_register From: Philipp Zabel To: Thierry Reding , kernel test robot , Krzysztof Kozlowski Cc: Dmitry Osipenko , "kbuild-all@lists.01.org" , "clang-built-linux@googlegroups.com" , Linux Memory Management List Date: Fri, 18 Jun 2021 17:20:10 +0200 In-Reply-To: References: <202106182243.KgZxMD9A-lkp@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-mm@kvack.org Authentication-Results: imf26.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf26.hostedemail.com: domain of p.zabel@pengutronix.de designates 85.220.165.71 as permitted sender) smtp.mailfrom=p.zabel@pengutronix.de X-Rspamd-Server: rspam02 X-Stat-Signature: dwydki6hps9t8k8bchdm1kc8y3sh7hj7 X-Rspamd-Queue-Id: 2D8A94202A29 X-HE-Tag: 1624029622-102617 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: Hi Thierry, Krzysztof, On Fri, 2021-06-18 at 16:52 +0200, Thierry Reding wrote: > On Fri, Jun 18, 2021 at 04:21:45PM +0200, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= .git master > > head: e71e3a48a7e89fa71fb70bf4602367528864d2ff > > commit: 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 [5946/11253] memory: t= egra: Enable compile testing for all drivers > > config: x86_64-randconfig-a001-20210618 (attached as .config) > > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64= 720f57bea6a6bf033feef4a5751ab9c0c3b401) > > 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 > > # install x86_64 cross compiling tool for clang build > > # apt-get install binutils-x86-64-linux-gnu > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git/commit/?id=3D56ebc9b0d77e0406aba2d900c82e79204cc7dc32 > > 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 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross = ARCH=3Dx86_64=20 > >=20 > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > >=20 > > Note: the linux-next/master HEAD e71e3a48a7e89fa71fb70bf4602367528864d2= ff builds fine. > > It may have been fixed somewhere. > >=20 > > All errors (new ones prefixed by >>): > >=20 > > > > ld.lld: error: undefined symbol: reset_controller_register > > >>> referenced by mc.c > > >>> memory/tegra/mc.o:(tegra_mc_probe) in archive driv= ers/built-in.a >=20 > Ugh... more fallout from that compile-test enablement. It looks like > that compile-test stubs addition patch for reset hasn't found its way > into linux-next yet. It has [1], it's just merged later [2]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/com= mit/?id=3D48a74b1147f7db4623eaed591cc01eb740b871c0 [2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/com= mit/?id=3D25da503ecce8f523c1c1c678659cb484d3bcd73f > Philipp, I wonder if it would make sense for Krzysztof to pick up that > patch or, if you prefer, for Krzysztof to pull a stable branch from you > that includes this so that the memory controller tree becomes buildable > again? That commit is stable. Feel free to pull it in below 56ebc9b0d77e: https://lore.kernel.org/linux-arm-kernel/14d33ac19b2a107e97ce1ab264987b707b= aa9ba7.camel@pengutronix.de/ regards Philipp