Skip to contentSkip to conversation

linux-next: build failure after merge of the imx-mxs tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Feb 18, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the imx-mxs tree, today's linux-next build (powerpc allyesconfig) failed like this:

ld: drivers/soc/imx/soc-imx-scu.o: in function `.imx_scu_soc_probe':
soc-imx-scu.c:(.text.imx_scu_soc_probe+0x44): undefined reference to `.imx_scu_get_handle'
ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x134): undefined reference to `.imx_scu_call_rpc'
ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x20c): undefined reference to `.imx_scu_call_rpc'

Caused by commit

68c189e3a93c ("soc: imx: increase build coverage for imx8m soc driver")

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 2 lines

Subject: linux-next: build failure after merge of the imx-mxs tree

Sorry for this. I'll fix it. It should be the functions not defined when IMX_SCU not defined.

Thanks,
Peng.

Quoted 23 lines

Hi all,

After merging the imx-mxs tree, today's linux-next build (powerpc allyesconfig) failed like this:

ld: drivers/soc/imx/soc-imx-scu.o: in function `.imx_scu_soc_probe':
soc-imx-scu.c:(.text.imx_scu_soc_probe+0x44): undefined reference to `.imx_scu_get_handle'
ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x134): undefined reference to `.imx_scu_call_rpc'
ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x20c): undefined reference to `.imx_scu_call_rpc'

Caused by commit

68c189e3a93c ("soc: imx: increase build coverage for imx8m soc driver")

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

#2 lore raw
Quoted 5 lines · Peng Fan
Quoted 2 lines

Subject: linux-next: build failure after merge of the imx-mxs tree

Sorry for this. I'll fix it. It should be the functions not defined when IMX_SCU not defined.

I'm dropping the patch from my branch for now.

Shawn