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 BCBF8C48BE8 for ; Fri, 18 Jun 2021 15:53:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0EEC861369 for ; Fri, 18 Jun 2021 15:53:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0EEC861369 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 6E8776B0072; Fri, 18 Jun 2021 11:53:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 699E06B0073; Fri, 18 Jun 2021 11:53:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 53A1D6B0074; Fri, 18 Jun 2021 11:53:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 21F7F6B0072 for ; Fri, 18 Jun 2021 11:53:56 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B229B181AEF09 for ; Fri, 18 Jun 2021 15:53:55 +0000 (UTC) X-FDA: 78267290430.05.F496990 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [85.220.165.71]) by imf20.hostedemail.com (Postfix) with ESMTP id 24DFD994 for ; Fri, 18 Jun 2021 15:53:55 +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 1luGoV-0007cC-98; Fri, 18 Jun 2021 17:53:47 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1luGoT-0007JO-Tu; Fri, 18 Jun 2021 17:53:45 +0200 Message-ID: <5455875a86b33ecbbc94156c0c799e7224bba93a.camel@pengutronix.de> Subject: Re: [linux-next:master 5946/11253] ld.lld: error: undefined symbol: reset_controller_register From: Philipp Zabel To: Krzysztof Kozlowski , Thierry Reding , kernel test robot , Olof Johansson Cc: Dmitry Osipenko , "kbuild-all@lists.01.org" , "clang-built-linux@googlegroups.com" , Linux Memory Management List Date: Fri, 18 Jun 2021 17:53:45 +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 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 24DFD994 Authentication-Results: imf20.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf20.hostedemail.com: domain of p.zabel@pengutronix.de designates 85.220.165.71 as permitted sender) smtp.mailfrom=p.zabel@pengutronix.de X-Stat-Signature: twoayi94uzxtsoetf75njwqmtkf3skn9 X-HE-Tag: 1624031635-341046 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 Krzysztof, Olof, On Fri, 2021-06-18 at 16:55 +0200, Krzysztof Kozlowski wrote: > On 18/06/2021 16:52, 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-ne= xt.git master > > > head: e71e3a48a7e89fa71fb70bf4602367528864d2ff > > > commit: 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 [5946/11253] memory:= tegra: 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 = 64720f57bea6a6bf033feef4a5751ab9c0c3b401) > > > 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 > > > # 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-= next.git/commit/?id=3D56ebc9b0d77e0406aba2d900c82e79204cc7dc32 > > > 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 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cros= s 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 e71e3a48a7e89fa71fb70bf4602367528864= d2ff 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 dr= ivers/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. >=20 > Does it mean reset tree is not in linux-next? No, it is. It just has been merged into arm-soc/arm/drivers a day too late: $ git log --pretty=3Doneline arm-soc/arm/drivers | head -n2 25da503ecce8f523c1c1c678659cb484d3bcd73f Merge tag 'reset-for-v5.14-2' of= git://git.pengutronix.de/pza/linux into arm/drivers 1eb5f83ee936de6a69b2bcee95088a6e0ab7c202 Merge tag 'memory-controller-drv= -tegra-5.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linu= x-mem-ctrl into arm/drivers memory-controller-drv-tegra-5.14-2 contains the offending commit 56ebc9b0d77e, which depends on commit 48a74b1147f7 in reset-for-v5.14-2. Is the arm-soc/arm/drivers branch still mutable? IIUC this could be fixed by reordering the two merges. regards Philipp