Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [tiwai-sound:for-linus 2/7] ld.lld: error: undefined symbol: i2c_acpi_client_count
@ 2024-08-14  5:08 kernel test robot
  2024-08-14 10:59 ` Richard Fitzgerald
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-08-14  5:08 UTC (permalink / raw)
  To: Simon Trimmer
  Cc: llvm, oe-kbuild-all, alsa-devel, Takashi Iwai, Richard Fitzgerald

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/202408141333.gYnaitcV-lkp@intel.com/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/202408141333.gYnaitcV-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408141333.gYnaitcV-lkp@intel.com/

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

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tiwai-sound:for-linus 2/7] ld.lld: error: undefined symbol: i2c_acpi_client_count
  2024-08-14  5:08 [tiwai-sound:for-linus 2/7] ld.lld: error: undefined symbol: i2c_acpi_client_count kernel test robot
@ 2024-08-14 10:59 ` Richard Fitzgerald
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Fitzgerald @ 2024-08-14 10:59 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: llvm, oe-kbuild-all, linux-sound

On 14/08/2024 06:08, kernel test robot wrote:
> 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/202408141333.gYnaitcV-lkp@intel.com/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/202408141333.gYnaitcV-lkp@intel.com/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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202408141333.gYnaitcV-lkp@intel.com/
> 
> 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
> 

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-14 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14  5:08 [tiwai-sound:for-linus 2/7] ld.lld: error: undefined symbol: i2c_acpi_client_count kernel test robot
2024-08-14 10:59 ` Richard Fitzgerald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox