All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android-mainline-riscv64 2/2] phylink.c:undefined reference to `phy_may_wakeup'
Date: Sat, 18 Jul 2026 07:58:07 +0800	[thread overview]
Message-ID: <202607180721.9PoH41qP-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android-mainline-riscv64
head:   7100382cb0b69db6c24a055ca4df75c9cc45fe50
commit: ccf4fe000a868fef218d481fde838e6c5927faf2 [2/2] Merge 477e31fd1e81 ("Merge tag 'erofs-for-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs") into android-mainline
config: arm64-randconfig-002-20260717 (https://download.01.org/0day-ci/archive/20260718/202607180721.9PoH41qP-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260718/202607180721.9PoH41qP-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607180721.9PoH41qP-lkp@intel.com/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_set_fixed_link':
   phylink.c:(.text+0x2c0): undefined reference to `phy_caps_lookup'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_pcs_neg_mode':
   phylink.c:(.text+0x3f8): undefined reference to `phy_inband_caps'
   aarch64-linux-ld: phylink.c:(.text+0x49c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x690): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_caps_to_linkmodes':
   phylink.c:(.text+0x8ac): undefined reference to `phy_caps_linkmodes'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_rx_clk_stop_block':
   phylink.c:(.text+0x8d0): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x95c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x9a0): undefined reference to `phy_eee_rx_clock_stop'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_rx_clk_stop_unblock':
   phylink.c:(.text+0xa10): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0xa9c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0xb10): undefined reference to `phy_eee_rx_clock_stop'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_pauseparam':
   phylink.c:(.text+0xb54): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_disconnect_phy':
   phylink.c:(.text+0xc54): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0xcbc): undefined reference to `phy_disconnect'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_phy_pm_speed_ctrl':
>> phylink.c:(.text+0xd68): undefined reference to `phy_may_wakeup'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_prepare_resume':
   phylink.c:(.text+0xdd4): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0xe0c): undefined reference to `phy_resume'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_wol':
   phylink.c:(.text+0xe94): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0xf20): undefined reference to `phy_ethtool_get_wol'
   aarch64-linux-ld: phylink.c:(.text+0xf3c): undefined reference to `phy_ethtool_get_wol'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_wol':
   phylink.c:(.text+0xfe0): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x101c): undefined reference to `phy_ethtool_set_wol'
   aarch64-linux-ld: phylink.c:(.text+0x1048): undefined reference to `phy_ethtool_get_wol'
   aarch64-linux-ld: phylink.c:(.text+0x10d0): undefined reference to `phy_ethtool_set_wol'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_nway_reset':
   phylink.c:(.text+0x1150): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x1164): undefined reference to `phy_restart_aneg'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_get_eee_err':
   phylink.c:(.text+0x11d0): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x11e8): undefined reference to `phy_get_eee_err'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_eee':
   phylink.c:(.text+0x1258): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x1274): undefined reference to `phy_ethtool_get_eee'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_eee':
   phylink.c:(.text+0x135c): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x1378): undefined reference to `phy_ethtool_set_eee'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_an_restart':
   phylink.c:(.text+0x145c): undefined reference to `mdiobus_read'
   aarch64-linux-ld: phylink.c:(.text+0x1474): undefined reference to `mdiobus_write'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_emul_read':
   phylink.c:(.text+0x1508): undefined reference to `swphy_read_reg'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_config':
   phylink.c:(.text+0x1650): undefined reference to `mdiobus_modify_changed'
   aarch64-linux-ld: phylink.c:(.text+0x1690): undefined reference to `mdiobus_modify'
   aarch64-linux-ld: phylink.c:(.text+0x16c0): undefined reference to `mdiobus_modify_changed'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_phy_change':
   phylink.c:(.text+0x1924): undefined reference to `phy_get_pause'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_resolve_an_pause.part.27':
   phylink.c:(.text+0x1a1c): undefined reference to `linkmode_resolve_pause'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_get_state':
   phylink.c:(.text+0x1ea8): undefined reference to `mdiobus_read'
   aarch64-linux-ld: phylink.c:(.text+0x1ebc): undefined reference to `mdiobus_read'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_link_down':
   phylink.c:(.text+0x1f58): undefined reference to `netif_carrier_off'
   aarch64-linux-ld: phylink.c:(.text+0x1fd4): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_get_capabilities':
   phylink.c:(.text+0x209c): undefined reference to `phy_caps_from_interface'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_validate_mac_and_pcs':
   phylink.c:(.text+0x23b0): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2400): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_pauseparam':
   phylink.c:(.text+0x2558): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x25e4): undefined reference to `linkmode_set_pause'
   aarch64-linux-ld: phylink.c:(.text+0x262c): undefined reference to `phy_set_asym_pause'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c45_pcs_get_state':
   phylink.c:(.text+0x2720): undefined reference to `mdiobus_c45_read'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_speed_down':
   phylink.c:(.text+0x27d4): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x2804): undefined reference to `phy_speed_down'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_speed_up':
   phylink.c:(.text+0x2890): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x28bc): undefined reference to `phy_speed_up'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_stop':
   phylink.c:(.text+0x2950): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x2960): undefined reference to `phy_stop'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_suspend':
   phylink.c:(.text+0x2a54): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x2b14): undefined reference to `netif_carrier_off'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_major_config':
   phylink.c:(.text+0x2e7c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2ed8): undefined reference to `phy_config_inband'
   aarch64-linux-ld: phylink.c:(.text+0x2f4c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2f6c): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2fa4): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2fc4): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x2fe4): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_start':
   phylink.c:(.text+0x3250): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x3274): undefined reference to `netif_carrier_off'
   aarch64-linux-ld: phylink.c:(.text+0x32b0): undefined reference to `phy_start'
   aarch64-linux-ld: phylink.c:(.text+0x330c): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_resume':
   phylink.c:(.text+0x3490): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_validate_one':
   phylink.c:(.text+0x3694): undefined reference to `phy_get_rate_matching'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_resolve':
   phylink.c:(.text+0x3aec): undefined reference to `netif_carrier_on'
   aarch64-linux-ld: phylink.c:(.text+0x3ccc): undefined reference to `phy_speed_to_str'
   aarch64-linux-ld: phylink.c:(.text+0x3cdc): undefined reference to `phy_duplex_to_str'
   aarch64-linux-ld: phylink.c:(.text+0x3d14): undefined reference to `netdev_printk'
   aarch64-linux-ld: phylink.c:(.text+0x3de4): undefined reference to `phy_speed_to_str'
   aarch64-linux-ld: phylink.c:(.text+0x3df4): undefined reference to `phy_duplex_to_str'
   aarch64-linux-ld: phylink.c:(.text+0x3e98): undefined reference to `netdev_printk'
   aarch64-linux-ld: drivers/net/phy/phylink.o: in function `phylink_mii_ioctl':
   phylink.c:(.text+0x3f1c): undefined reference to `rtnl_is_locked'
   aarch64-linux-ld: phylink.c:(.text+0x3f58): undefined reference to `phy_mii_ioctl'
   aarch64-linux-ld: phylink.c:(.text+0x4064): undefined reference to `mdiobus_c45_write'
   aarch64-linux-ld: phylink.c:(.text+0x40a4): undefined reference to `mdiobus_read'
   aarch64-linux-ld: phylink.c:(.text+0x4158): undefined reference to `mdiobus_c45_read'
   aarch64-linux-ld: phylink.c:(.text+0x416c): undefined reference to `mdiobus_write'
   aarch64-linux-ld: phylink.c:(.text+0x4190): undefined reference to `mdiobus_c45_read'
   aarch64-linux-ld: phylink.c:(.text+0x41b8): undefined reference to `mdiobus_c45_write'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PHYLINK
   Depends on [n]: NETDEVICES [=n]
   Selected by [y]:
   - GKI_HIDDEN_ETHERNET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for PAGE_POOL
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
   Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
   Selected by [y]:
   - GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for NET_DEVLINK
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-07-17 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607180721.9PoH41qP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.