Skip to contentSkip to conversation

ld.lld: error: undefined symbol: i2c_acpi_client_count

PATCH kernel test robot 2 participants 2 messages Aug 14, 2024 Sound

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus
head:   8475a1d9bb7acf1cb15842dd24baab0e8ea4e4ff
commit: 03c5c350e38d9346b69357d0e52c3c40495c14a0 [2/7] ALSA: hda/realtek: Add support for new HP G12 laptops
config: i386-randconfig-013-20240811 (https://download.01.org/0day-ci/archive/20240814/[email protected]/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240814/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: i2c_acpi_client_count
   >>> referenced by patch_realtek.c:6891 (sound/pci/hda/patch_realtek.c:6891)
   >>>               sound/pci/hda/patch_realtek.o:(cs35lxx_autodet_fixup) in archive vmlinux.a
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw
Quoted 7 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus
head:   8475a1d9bb7acf1cb15842dd24baab0e8ea4e4ff
commit: 03c5c350e38d9346b69357d0e52c3c40495c14a0 [2/7] ALSA: hda/realtek: Add support for new HP G12 laptops
config: i386-randconfig-013-20240811 (https://download.01.org/0day-ci/archive/20240814/[email protected]/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240814/[email protected]/reproduce)
Quoted 11 lines

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

Quoted 3 lines
Quoted 3 lines

ld.lld: error: undefined symbol: i2c_acpi_client_count

Quoted 2 lines

referenced by patch_realtek.c:6891 (sound/pci/hda/patch_realtek.c:6891)
sound/pci/hda/patch_realtek.o:(cs35lxx_autodet_fixup) in archive vmlinux.a

I'll be sending a fix for this soon, I'm just testing it. Despite our testing of various combinations we missed CONFIG_I2C=m, CONFIG_ACPI=y. For reasons I can't explain I thought that CONFIG_I2C is a boolean.