2020-02-18 02:09:21

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the imx-mxs tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-02-18 02:18:27

by Peng Fan

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the imx-mxs tree


> 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.

>
> 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

2020-02-18 09:40:27

by Shawn Guo

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the imx-mxs tree

On Tue, Feb 18, 2020 at 02:18:00AM +0000, Peng Fan wrote:
>
> > 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