All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android17-6.18 1/1] phy_package.c:undefined reference to `__mdiobus_write'
@ 2026-10-25 10:03 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-25 10:03 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   533c1b80b8a9556fea6728bd85fa3a276bccbd15
commit: e720a50b14c5896defc425452f52d3ee1d2de1c5 [1/1] ANDROID: GKI: Select PHY_PACKAGE for vendor modules
config: arm-randconfig-1000-20261020 (https://download.01.org/0day-ci/archive/20261025/202610251752.PUbMHA4w-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261025/202610251752.PUbMHA4w-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/202610251752.PUbMHA4w-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c45_pcs_get_state':
   phylink.c:(.text+0x2ab4): undefined reference to `mdiobus_c45_read'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_speed_up':
   phylink.c:(.text+0x2bcc): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x2c28): undefined reference to `phy_speed_up'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_pauseparam':
   phylink.c:(.text+0x2dd0): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x2ea4): undefined reference to `linkmode_set_pause'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x2f24): undefined reference to `phy_set_asym_pause'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_stop':
   phylink.c:(.text+0x304c): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x306c): undefined reference to `phy_stop'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_suspend':
   phylink.c:(.text+0x3210): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x32e4): undefined reference to `netif_carrier_off'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_get_capabilities':
   phylink.c:(.text+0x33d0): undefined reference to `phy_caps_from_interface'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_link_down':
   phylink.c:(.text+0x359c): undefined reference to `netif_carrier_off'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x3718): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_phy_change':
   phylink.c:(.text+0x3a00): undefined reference to `phy_get_pause'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_validate_mac_and_pcs':
   phylink.c:(.text+0x3f54): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x3fbc): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_validate_one':
   phylink.c:(.text+0x4194): undefined reference to `phy_get_rate_matching'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_validate_phy':
   phylink.c:(.text+0x4578): undefined reference to `phy_get_rate_matching'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4698): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x46b4): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_parse_mode':
   phylink.c:(.text+0x4a48): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4a64): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4ad0): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_ioctl':
   phylink.c:(.text+0x4d20): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4dec): undefined reference to `mdiobus_c45_read'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4ec8): undefined reference to `phy_mii_ioctl'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x4f6c): undefined reference to `mdiobus_c45_write'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5034): undefined reference to `mdiobus_c45_read'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5054): undefined reference to `mdiobus_read'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5104): undefined reference to `swphy_read_reg'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x517c): undefined reference to `mdiobus_c45_write'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x51a0): undefined reference to `mdiobus_write'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_get':
   phylink.c:(.text+0x53e4): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5408): undefined reference to `phy_ethtool_ksettings_get'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_parse_fixedlink':
   phylink.c:(.text+0x5840): undefined reference to `phy_caps_lookup'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5b44): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5b7c): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5bcc): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x5c2c): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_create':
   phylink.c:(.text+0x5fd4): undefined reference to `netif_carrier_off'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_major_config':
   phylink.c:(.text+0x6720): undefined reference to `phy_config_inband'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x68c0): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x6900): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x6984): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x69a4): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x69c4): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o:phylink.c:(.text+0x6a04): more undefined references to `netdev_printk' follow
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_set':
   phylink.c:(.text+0x6fd0): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x7030): undefined reference to `phy_ethtool_ksettings_set'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x717c): undefined reference to `phy_caps_lookup'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x763c): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x765c): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x76cc): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_start':
   phylink.c:(.text+0x798c): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x79d4): undefined reference to `netif_carrier_off'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x7a74): undefined reference to `phy_start'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x7c90): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_resume':
   phylink.c:(.text+0x7d4c): undefined reference to `rtnl_is_locked'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_bringup_phy':
   phylink.c:(.text+0x7f44): undefined reference to `phy_support_asym_pause'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8020): undefined reference to `phy_attached_info_irq'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8208): undefined reference to `phy_eee_tx_clock_stop_capable'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8250): undefined reference to `phy_request_interrupt'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8278): undefined reference to `phy_disable_eee'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8284): undefined reference to `phy_support_eee'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x82a8): undefined reference to `phy_eee_rx_clock_stop'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8358): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x83e0): undefined reference to `netdev_printk'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_connect_phy':
   phylink.c:(.text+0x85a0): undefined reference to `phy_attach_direct'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x8628): undefined reference to `phy_detach'
   arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_fwnode_phy_connect':
   phylink.c:(.text+0x86cc): undefined reference to `fwnode_get_phy_node'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x86dc): undefined reference to `fwnode_phy_find_device'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x879c): undefined reference to `phy_attach_direct'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x87a8): undefined reference to `phy_device_free'
   arm-linux-gnueabi-ld: phylink.c:(.text+0x87f8): undefined reference to `phy_detach'
   arm-linux-gnueabi-ld: drivers/net/phy/phy_package.o: in function `__phy_package_read':
   phy_package.c:(.text+0xe8): undefined reference to `__mdiobus_read'
   arm-linux-gnueabi-ld: drivers/net/phy/phy_package.o: in function `__phy_package_write':
>> phy_package.c:(.text+0x1b0): undefined reference to `__mdiobus_write'
   arm-linux-gnueabi-ld: drivers/net/phy/phy_package.o: in function `__phy_package_read_mmd':
>> phy_package.c:(.text+0x29c): undefined reference to `mmd_phy_read'
   arm-linux-gnueabi-ld: drivers/net/phy/phy_package.o: in function `__phy_package_write_mmd':
   phy_package.c:(.text+0x3a4): undefined reference to `mmd_phy_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 ASYNC_TX_ENABLE_CHANNEL_SWITCH
   Depends on [n]: DMADEVICES [=n]
   Selected by [y]:
   - GKI_HIDDEN_DMA_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for DMA_ENGINE_RAID
   Depends on [n]: DMADEVICES [=n]
   Selected by [y]:
   - GKI_HIDDEN_DMA_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for PHY_PACKAGE
   Depends on [n]: NETDEVICES [=n] && PHYLIB [=n]
   Selected by [y]:
   - GKI_HIDDEN_PHY_CONFIGS [=y]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [android-common:android17-6.18 1/1] phy_package.c:undefined reference to `__mdiobus_write'
@ 2026-05-15 21:06 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-05-15 21:06 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Zhipeng,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   e4dfefbc266a4306a9ec161fe9f629fdfdf5033d
commit: e720a50b14c5896defc425452f52d3ee1d2de1c5 [1/1] ANDROID: GKI: Select PHY_PACKAGE for vendor modules
config: arm64-randconfig-003-20260515 (https://download.01.org/0day-ci/archive/20260516/202605160418.nf3lIuMJ-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/202605160418.nf3lIuMJ-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/202605160418.nf3lIuMJ-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/phy_package.o: in function `__phy_package_read':
   phy_package.c:(.text+0xe0): undefined reference to `__mdiobus_read'
   aarch64-linux-ld: drivers/net/phy/phy_package.o: in function `__phy_package_write':
>> phy_package.c:(.text+0x1ac): undefined reference to `__mdiobus_write'
   aarch64-linux-ld: drivers/net/phy/phy_package.o: in function `__phy_package_read_mmd':
   phy_package.c:(.text+0x290): undefined reference to `mmd_phy_read'
   aarch64-linux-ld: drivers/net/phy/phy_package.o: in function `__phy_package_write_mmd':
   phy_package.c:(.text+0x398): undefined reference to `mmd_phy_write'

Kconfig warnings: (for reference only)
   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 DIMLIB
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_VIRTUAL_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
   Depends on [n]: NET [=n]
   Selected by [y]:
   - GKI_HIDDEN_NET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for PHY_PACKAGE
   Depends on [n]: NETDEVICES [=n] && PHYLIB [=n]
   Selected by [y]:
   - GKI_HIDDEN_PHY_CONFIGS [=y]

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

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

end of thread, other threads:[~2026-10-25 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 10:03 [android-common:android17-6.18 1/1] phy_package.c:undefined reference to `__mdiobus_write' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-05-15 21:06 kernel test robot

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.