ld.lld: error: undefined symbol: sdw_intel_acpi_scan

From: kernel test robot
Date: Fri Jan 01 2021 - 16:01:42 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f6e1ea19649216156576aeafa784e3b4cee45549
commit: a115ab9b8b93e7f0ff28a4fc869a3222ae921edd ASoC: SOF: Intel: add build support for SoundWire
date: 4 months ago
config: x86_64-randconfig-a014-20210102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d1fd72343c6ff58a3b66bc0df56fed9ac21e4056)
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/torvalds/linux.git/commit/?id=a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a115ab9b8b93e7f0ff28a4fc869a3222ae921edd
# 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@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: sdw_intel_acpi_scan
>>> referenced by hda.c:137 (sound/soc/sof/intel/hda.c:137)
>>> soc/sof/intel/hda.o:(hda_dsp_probe) in archive sound/built-in.a
>>> referenced by intel-dsp-config.c:360 (sound/hda/intel-dsp-config.c:360)
>>> hda/intel-dsp-config.o:(snd_intel_dsp_driver_probe) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_probe
>>> referenced by hda.c:172 (sound/soc/sof/intel/hda.c:172)
>>> soc/sof/intel/hda.o:(hda_dsp_probe) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_thread
>>> referenced by hda.c:239 (sound/soc/sof/intel/hda.c:239)
>>> soc/sof/intel/hda.o:(hda_dsp_interrupt_thread) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_process_wakeen_event
>>> referenced by hda.c:263 (sound/soc/sof/intel/hda.c:263)
>>> soc/sof/intel/hda.o:(hda_dsp_interrupt_thread) in archive sound/built-in.a
>>> referenced by hda.c:263 (sound/soc/sof/intel/hda.c:263)
>>> soc/sof/intel/hda.o:(hda_sdw_process_wakeen) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_enable_irq
>>> referenced by hda.c:123 (sound/soc/sof/intel/hda.c:123)
>>> soc/sof/intel/hda.o:(hda_dsp_remove) in archive sound/built-in.a
>>> referenced by hda.c:123 (sound/soc/sof/intel/hda.c:123)
>>> soc/sof/intel/hda.o:(hda_sdw_int_enable) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_exit
>>> referenced by hda.c:205 (sound/soc/sof/intel/hda.c:205)
>>> soc/sof/intel/hda.o:(hda_dsp_remove) in archive sound/built-in.a
--
>> ld.lld: error: undefined symbol: sdw_intel_startup
>>> referenced by hda.c:193 (sound/soc/sof/intel/hda.c:193)
>>> soc/sof/intel/hda.o:(hda_sdw_startup) in archive sound/built-in.a

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SOUNDWIRE_INTEL
Depends on SOUNDWIRE && ACPI && SND_SOC
Selected by
- SND_SOC_SOF_INTEL_SOUNDWIRE && SOUND && !UML && SND && SND_SOC && SND_SOC_SOF_TOPLEVEL && SND_SOC_SOF_INTEL_TOPLEVEL && SND_SOC_SOF_INTEL_PCI

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip