linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next: arm: drivers/net/phy/phy_device.o: in function `phy_probe': drivers/net/phy/phy_device.c:3053: undefined reference to
@ 2023-04-20 10:51 Naresh Kamboju
  2023-04-20 12:21 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-04-20 10:51 UTC (permalink / raw)
  To: Netdev, Linux-Next Mailing List, Linux ARM, lkft-triage, llvm
  Cc: Russell King - ARM Linux, David S. Miller, Arnd Bergmann,
	Ard Biesheuvel, Anders Roxell, Eric Dumazet, Paolo Abeni,
	Jakub Kicinski

[ Please ignore this email if it is already reported ]

Following build failures noticed on Linux next-20230419.

Regressions found on arm:
 - build/clang-16-omap2plus_defconfig
 - build/clang-16-davinci_all_defconfig
 - build/gcc-8-davinci_all_defconfig
 - build/clang-nightly-omap2plus_defconfig
 - build/gcc-12-omap2plus_defconfig
 - build/gcc-12-davinci_all_defconfig
 - build/clang-nightly-davinci_all_defconfig
 - build/gcc-8-omap2plus_defconfig


Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

Build log:
------------

 arm-linux-gnueabihf-ld: drivers/net/phy/phy_device.o: in function `phy_probe':
drivers/net/phy/phy_device.c:3053: undefined reference to
`devm_led_classdev_register_ext'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.o: in
function `davinci_emac_of_get_pdata':
drivers/net/ethernet/ti/davinci_emac.c:1770: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.c:1772:
undefined reference to `of_phy_register_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.o: in
function `davinci_emac_probe':
drivers/net/ethernet/ti/davinci_emac.c:1990: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.c:1990:
undefined reference to `of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.c:1991:
undefined reference to `of_phy_deregister_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.o: in
function `emac_dev_open':
drivers/net/ethernet/ti/davinci_emac.c:1497: undefined reference to
`of_phy_connect'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.o: in
function `davinci_emac_remove':
drivers/net/ethernet/ti/davinci_emac.c:2022: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_emac.c:2023:
undefined reference to `of_phy_deregister_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdio_probe':
include/linux/of_mdio.h:23: undefined reference to `__of_mdiobus_register'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdio_probe':
include/linux/phy.h:458: undefined reference to `devm_mdiobus_alloc_size'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw.o: in function
`cpsw_remove_dt':
drivers/net/ethernet/ti/cpsw.c:1410: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw.c:1411: undefined
reference to `of_phy_deregister_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw.o: in function
`cpsw_probe':
drivers/net/ethernet/ti/cpsw.c:1318: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw.c:1322: undefined
reference to `of_phy_register_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw.o: in function
`cpsw_slave_open':
drivers/net/ethernet/ti/cpsw.c:614: undefined reference to `of_phy_connect'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.o: in
function `cpsw_remove':
drivers/net/ethernet/ti/cpsw_new.c:1354: undefined reference to
`of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.c:1355:
undefined reference to `of_phy_deregister_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.o: in
function `cpsw_probe':
drivers/net/ethernet/ti/cpsw_new.c:1290: undefined reference to
`of_phy_register_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.c:1289:
undefined reference to `of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.c:1354:
undefined reference to `of_phy_is_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.c:1355:
undefined reference to `of_phy_deregister_fixed_link'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/cpsw_new.o: in
function `cpsw_ndo_open':
drivers/net/ethernet/ti/cpsw_new.c:768: undefined reference to `of_phy_connect'
make[2]: *** [scripts/Makefile.vmlinux:35: vmlinux] Error 1


Details:
-------
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230419/testrun/16368708/suite/build/test/gcc-12-omap2plus_defconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230419/testrun/16368708/suite/build/test/gcc-12-omap2plus_defconfig/details/

Steps to reproduce:
---------
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch arm --toolchain gcc-12
--kconfig omap2plus_defconfig


--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: next: arm: drivers/net/phy/phy_device.o: in function `phy_probe': drivers/net/phy/phy_device.c:3053: undefined reference to
  2023-04-20 10:51 next: arm: drivers/net/phy/phy_device.o: in function `phy_probe': drivers/net/phy/phy_device.c:3053: undefined reference to Naresh Kamboju
@ 2023-04-20 12:21 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2023-04-20 12:21 UTC (permalink / raw)
  To: Naresh Kamboju, Netdev, linux-next, Linux ARM, lkft-triage, llvm
  Cc: Russell King, David S . Miller, Ard Biesheuvel, Anders Roxell,
	Eric Dumazet, Paolo Abeni, Jakub Kicinski

On Thu, Apr 20, 2023, at 12:51, Naresh Kamboju wrote:
> [ Please ignore this email if it is already reported ]
>
> Following build failures noticed on Linux next-20230419.
>
> Regressions found on arm:
>  - build/clang-16-omap2plus_defconfig
>  - build/clang-16-davinci_all_defconfig
>  - build/gcc-8-davinci_all_defconfig
>  - build/clang-nightly-omap2plus_defconfig
>  - build/gcc-12-omap2plus_defconfig
>  - build/gcc-12-davinci_all_defconfig
>  - build/clang-nightly-davinci_all_defconfig
>  - build/gcc-8-omap2plus_defconfig
>
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> Build log:
> ------------
>
>  arm-linux-gnueabihf-ld: drivers/net/phy/phy_device.o: in function `phy_probe':
> drivers/net/phy/phy_device.c:3053: undefined reference to
> `devm_led_classdev_register_ext'

I sent this patch now:

https://lore.kernel.org/all/20230420084624.3005701-1-arnd@kernel.org/

      Arnd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-20 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 10:51 next: arm: drivers/net/phy/phy_device.o: in function `phy_probe': drivers/net/phy/phy_device.c:3053: undefined reference to Naresh Kamboju
2023-04-20 12:21 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).