mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
	arnd@kernel.org, Randy Dunlap <rdunlap@infradead.org>
Subject: Re: ld.lld: error: undefined symbol: __devm_regmap_init_spi
Date: Tue, 16 Nov 2021 12:36:25 +0530	[thread overview]
Message-ID: <0e2494e3-29e4-7dec-833e-2eeaa71c75d0@amd.com> (raw)
In-Reply-To: <202111051055.wZupbWYg-lkp@intel.com>

On 11/5/21 7:43 AM, kernel test robot wrote:
> tree:   https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yAa9UXhBHt902ARvfVXW6cJVYEe9en9jlEba6yVnmVo%3D&amp;reserved=0 master
> head:   d4439a1189f93d0ac1eaf0197db8e6b3e197d5c7
> commit: 96792fdd77cd19fcf2368e7c19bb8b78557ae425 ASoC: amd: enable vangogh platform machine driver build
> date:   3 weeks ago
> config: x86_64-randconfig-r002-20211103 (attached as .config)
> compiler: clang version 14.0.0 (https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=nLB6CHKLCnmnMEI89CJJIYWRcE0w7d4r5D1hRfdFd6M%3D&amp;reserved=0 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
> reproduce (this is a W=1 build):
>         wget https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=norSmlMW7Enht9P6qvvAhJCcd8jxUjsgKYgK2kNKJAk%3D&amp;reserved=0 -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git%2Fcommit%2F%3Fid%3D96792fdd77cd19fcf2368e7c19bb8b78557ae425&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ZoY6kD%2BhGMc1jGMK0Ro9BwhRUcNATHK%2BzECc%2FwQ62go%3D&amp;reserved=0
>         git remote add linus https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yAa9UXhBHt902ARvfVXW6cJVYEe9en9jlEba6yVnmVo%3D&amp;reserved=0
>         git fetch --no-tags linus master
>         git checkout 96792fdd77cd19fcf2368e7c19bb8b78557ae425
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>>> ld.lld: error: undefined symbol: __devm_regmap_init_spi
>    >>> referenced by cs35l41-spi.c:85 (sound/soc/codecs/cs35l41-spi.c:85)
>    >>> soc/codecs/cs35l41-spi.o:(cs35l41_spi_probe) in archive sound/built-in.a
> --
>>> ld.lld: error: undefined symbol: spi_setup
>    >>> referenced by cs35l41-spi.c:62 (sound/soc/codecs/cs35l41-spi.c:62)
>    >>> soc/codecs/cs35l41-spi.o:(cs35l41_spi_otp_setup) in archive sound/built-in.a
>    >>> referenced by cs35l41-spi.c:68 (sound/soc/codecs/cs35l41-spi.c:68)
>    >>> soc/codecs/cs35l41-spi.o:(cs35l41_spi_otp_setup) in archive sound/built-in.a
> --
>>> ld.lld: error: undefined symbol: __spi_register_driver
>    >>> referenced by cs35l41-spi.c:134 (sound/soc/codecs/cs35l41-spi.c:134)
>    >>> soc/codecs/cs35l41-spi.o:(cs35l41_spi_driver_init) in archive sound/built-in.a
> 
Fix was provided by Arnd Bergmann. Below is the patch title.
ASoC: amd: vangogh: add SPI dependency.

Still upstream review is pending.

Thanks,
Vijendar

> Kconfig warnings: (for reference only)
>    WARNING: unmet direct dependencies detected for SND_SOC_CS35L41_SPI
>    Depends on SOUND && !UML && SND && SND_SOC && SPI_MASTER
>    Selected by
>    - SND_SOC_AMD_VANGOGH_MACH && SOUND && !UML && SND && SND_SOC && SND_SOC_AMD_ACP5x && I2C
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fhyperkitty%2Flist%2Fkbuild-all%40lists.01.org&amp;data=04%7C01%7CVijendar.Mukunda%40amd.com%7C30b2f5819d7c4d950b2c08d9a001da9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637716754948769498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=CmJMchAysPCo54Ryf1Lo1fmFLlI5%2BsBUrXG5TKVxoMA%3D&amp;reserved=0
> 


      reply	other threads:[~2021-11-16  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05  2:13 kernel test robot
2021-11-16  7:06 ` Mukunda,Vijendar [this message]

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=0e2494e3-29e4-7dec-833e-2eeaa71c75d0@amd.com \
    --to=vijendar.mukunda@amd.com \
    --cc=arnd@kernel.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=rdunlap@infradead.org \
    /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

all inboxes | Powered by JetHome®