From: Takashi Iwai <tiwai@suse.de>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
kernel test robot <lkp@intel.com>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.de>,
Kai Vehmanen <kai.vehmanen@linux.intel.com>,
Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
Bard Liao <bard.liao@intel.com>
Subject: Re: ld.lld: error: undefined symbol: iosf_mbi_available
Date: Thu, 18 Jul 2024 09:26:18 +0200 [thread overview]
Message-ID: <87wmljw485.wl-tiwai@suse.de> (raw)
In-Reply-To: <20240717202806.GA728411@thelio-3990X>
On Wed, 17 Jul 2024 22:28:06 +0200,
Nathan Chancellor wrote:
>
> On Wed, Jul 17, 2024 at 01:43:35PM +0200, Pierre-Louis Bossart wrote:
> >
> >
> > On 7/16/24 01:07, kernel test robot wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > > head: 3e7819886281e077e82006fe4804b0d6b0f5643b
> > > commit: 8d4ba1be3d2257606e04aff412829d8972670750 ASoC: SOF: pci: split PCI into different drivers
> > > date: 3 years, 4 months ago
> >
> > This doesn't seem to be a problem on the latest code? was it intentional
> > to report a problem on such an old commit?
>
> It's still reproducible at commit 8b0f0bb27c32 ("Merge tag
> 'fs_for_v6.11-rc1' of
> git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs") for me,
> using either LLVM or GCC with the configuration linked below:
>
> ld.lld: error: undefined symbol: iosf_mbi_available
> >>> referenced by atom.c
> >>> sound/soc/sof/intel/atom.o:(atom_machine_select) in archive vmlinux.a
>
> ld.lld: error: undefined symbol: iosf_mbi_read
> >>> referenced by atom.c
> >>> sound/soc/sof/intel/atom.o:(atom_machine_select) in archive vmlinux.a
>
> .../gcc/14.1.0/bin/i386-linux-ld: sound/soc/sof/intel/atom.o: in function `atom_machine_select':
> atom.c:(.text+0x1b9): undefined reference to `iosf_mbi_available'
> .../gcc/14.1.0/bin/i386-linux-ld: atom.c:(.text+0x1e3): undefined reference to `iosf_mbi_read'
Yours looks different from the original report, and indeed this must
be a missing fix.
Does the following change cover it?
thanks,
Takashi
--- a/sound/soc/sof/intel/Kconfig
+++ b/sound/soc/sof/intel/Kconfig
@@ -19,6 +19,7 @@ config SND_SOC_SOF_INTEL_ATOM_HIFI_EP
tristate
select SND_SOC_SOF_INTEL_COMMON
select SND_SOC_SOF_INTEL_HIFI_EP_IPC
+ select IOSF_MBI if X86 && PCI
help
This option is not user-selectable but automagically handled by
'select' statements at a higher level.
@@ -44,7 +45,6 @@ config SND_SOC_SOF_BAYTRAIL
select SND_SOC_SOF_INTEL_COMMON
select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
select SND_SOC_SOF_ACPI_DEV
- select IOSF_MBI if X86 && PCI
help
This adds support for Sound Open Firmware for Intel(R) platforms
using the Baytrail, Braswell or Cherrytrail processors.
next prev parent reply other threads:[~2024-07-18 7:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 23:07 ld.lld: error: undefined symbol: iosf_mbi_available kernel test robot
2024-07-17 11:43 ` Pierre-Louis Bossart
2024-07-17 20:28 ` Nathan Chancellor
2024-07-18 7:26 ` Takashi Iwai [this message]
2024-07-18 8:23 ` Pierre-Louis Bossart
2024-07-18 8:59 ` Takashi Iwai
2024-07-18 9:12 ` Pierre-Louis Bossart
2024-07-18 15:02 ` Takashi Iwai
2024-07-18 15:16 ` Pierre-Louis Bossart
2024-07-18 15:36 ` Takashi Iwai
2024-07-19 6:42 ` Pierre-Louis Bossart
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=87wmljw485.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=bard.liao@intel.com \
--cc=guennadi.liakhovetski@linux.intel.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pierre-louis.bossart@linux.intel.com \
/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