linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Thierry Reding <treding@nvidia.com>,
	 kernel test robot <lkp@intel.com>,
	Olof Johansson <olof@lixom.net>
Cc: Dmitry Osipenko <digetx@gmail.com>,
	"kbuild-all@lists.01.org" <kbuild-all@lists.01.org>,
	"clang-built-linux@googlegroups.com"
	<clang-built-linux@googlegroups.com>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 5946/11253] ld.lld: error: undefined symbol: reset_controller_register
Date: Fri, 18 Jun 2021 17:53:45 +0200	[thread overview]
Message-ID: <5455875a86b33ecbbc94156c0c799e7224bba93a.camel@pengutronix.de> (raw)
In-Reply-To: <b29290ec-679d-322f-0cd0-32358533aac7@kernel.org>

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-next.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=1 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=56ebc9b0d77e0406aba2d900c82e79204cc7dc32
> > >         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=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 
> > > 
> > > If you fix the issue, kindly add following tag as appropriate
> > > Reported-by: kernel test robot <lkp@intel.com>
> > > 
> > > Note: the linux-next/master HEAD e71e3a48a7e89fa71fb70bf4602367528864d2ff builds fine.
> > >       It may have been fixed somewhere.
> > > 
> > > All errors (new ones prefixed by >>):
> > > 
> > > > > ld.lld: error: undefined symbol: reset_controller_register
> > >    >>> referenced by mc.c
> > >    >>>               memory/tegra/mc.o:(tegra_mc_probe) in archive drivers/built-in.a
> > 
> > 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.
> 
> 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=oneline 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/linux-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


  parent reply	other threads:[~2021-06-18 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18 14:21 [linux-next:master 5946/11253] ld.lld: error: undefined symbol: reset_controller_register kernel test robot
2021-06-18 14:52 ` Thierry Reding
2021-06-18 14:55   ` Krzysztof Kozlowski
2021-06-18 15:00     ` Matthew Wilcox
2021-06-18 15:05       ` Krzysztof Kozlowski
2021-06-18 15:11         ` Thierry Reding
2021-06-18 15:14           ` Krzysztof Kozlowski
2021-06-18 15:53     ` Philipp Zabel [this message]
2021-06-21  9:27       ` Krzysztof Kozlowski
2021-06-21 10:51         ` Philipp Zabel
2021-06-18 15:20   ` Philipp Zabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5455875a86b33ecbbc94156c0c799e7224bba93a.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=clang-built-linux@googlegroups.com \
    --cc=digetx@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=krzk@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=olof@lixom.net \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).