Re: arm: shmobile_defconfig: ld.lld: error: undefined symbol: lynx_pcs_destroy

From: Naresh Kamboju
Date: Tue Jun 06 2023 - 04:53:56 EST


+ netdev



On Tue, 6 Jun 2023 at 14:17, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> Following build regressions found while building arm shmobile_defconfig on
> Linux next-20230606.
>
> Regressions found on arm:
>
> - build/clang-16-shmobile_defconfig
> - build/gcc-8-shmobile_defconfig
> - build/gcc-12-shmobile_defconfig
> - build/clang-nightly-shmobile_defconfig

And mips defconfig builds failed.
Regressions found on mips:

- build/clang-16-defconfig
- build/gcc-12-defconfig
- build/gcc-8-defconfig
- build/clang-nightly-defconfig



>
> ld.lld: error: undefined symbol: lynx_pcs_destroy
> >>> referenced by stmmac_mdio.c
> >>> drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.o:(stmmac_mdio_unregister) in archive vmlinux.a
> make[2]: *** [scripts/Makefile.vmlinux:35: vmlinux] Error 1
>
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> links,
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17347517/suite/build/test/gcc-12-shmobile_defconfig/history/
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17347562/suite/build/test/clang-16-shmobile_defconfig/log
>
> --
> Linaro LKFT
> https://lkft.linaro.org