Subject: Re: linux-next: Tree for Jul 15 (sof-client-ipc-flood-test.c)

From: Pierre-Louis Bossart <[email-masked]>
Date: Mon, 18 Jul 2022 11:28:44 -0500

On 7/15/22 17:49, Randy Dunlap wrote:
> 
> 
> On 7/15/22 05:52, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20220714:
>>
> 
> on x86_64:
> 
> ld: vmlinux.o: in function `sof_ipc_flood_probe':
> sof-client-ipc-flood-test.c:(.text+0xb961d4): undefined reference to `sof_client_get_debugfs_root'
> ld: vmlinux.o: in function `sof_ipc_flood_dfs_open':
> sof-client-ipc-flood-test.c:(.text+0xb963ed): undefined reference to `sof_client_get_fw_state'
> ld: vmlinux.o: in function `sof_ipc_flood_dfs_write':
> sof-client-ipc-flood-test.c:(.text+0xb9689a): undefined reference to `sof_client_ipc_tx_message'
> 
> 
> Full randconfig file is attached.

Thanks Randy, I reproduced the issue, it was also reported by the Intel
bot. I added all the configs here:

https://github.com/thesofproject/linux/issues/3768

The issue is that the sof-client helpers are compiled with the same
setting as the SOF core, but the clients can be compiled as built-in,
that cannot possibly work.

It's peak vacation season so it'll take a couple of weeks to be
fixed/reviewed, but we'll fix this.
-Pierre