lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0e2494e3-29e4-7dec-833e-2eeaa71c75d0@amd.com>
Date:   Tue, 16 Nov 2021 12:36:25 +0530
From:   "Mukunda,Vijendar" <vijendar.mukunda@....com>
To:     kernel test robot <lkp@...el.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
        arnd@...nel.org, Randy Dunlap <rdunlap@...radead.org>
Subject: Re: ld.lld: error: undefined symbol: __devm_regmap_init_spi

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@...el.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ