From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C30007C for ; Fri, 3 Feb 2023 00:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675384560; x=1706920560; h=date:from:to:cc:subject:message-id:mime-version; bh=d3F67Za7/q4qu2vAgWfVerZtr8dwxAtP9OvDVmCPd6I=; b=BlW0+PLhYrxMiE0MBfYbl/FuV4zNqf4Dcbo4qDzEzjs50RXc0lfd3x86 gQlU83rWoJ4l3qAqcEWuCMEvQ8d2Q9yFIntbdjM7e75NtOfaIZd++L/jg gyRR/8Kq5q0QbRDHis27H2zcFGuxkfin3Q+x76pCK9cZ4YlSi+CKbH0Mn Hq8b90NnQDznnf/Ic2MT4RqyVVGNHmLvDyh6srvj9DjWC2onAMLRhD4oc 6289mNEBY/H7wswAS1KsKSNT91AF97oAEyuc4IS1GVrJB206/7T4S6cJV hnqrcIENbwTSOmk7H+URdysk1mT4mYil3184OXsMindKSkNV9aDueqDxJ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="393208093" X-IronPort-AV: E=Sophos;i="5.97,268,1669104000"; d="scan'208";a="393208093" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2023 16:36:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="695976831" X-IronPort-AV: E=Sophos;i="5.97,268,1669104000"; d="scan'208";a="695976831" Received: from lkp-server01.sh.intel.com (HELO ffa7f14d1d0f) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 02 Feb 2023 16:35:59 -0800 Received: from kbuild by ffa7f14d1d0f with local (Exim 4.96) (envelope-from ) id 1pNk3a-00070c-0k; Fri, 03 Feb 2023 00:35:58 +0000 Date: Fri, 3 Feb 2023 08:35:24 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android14-6.1 2601/6874] phylink.c:undefined reference to `linkmode_resolve_pause' Message-ID: <202302030820.3xToOhIG-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://android.googlesource.com/kernel/common android14-6.1 head: f4011fc8aedfcbcec01ce8ad9c91d4678de0c5ce commit: 9c2efcb127bb2168f3f523892a41b969ee3070ce [2601/6874] ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS config: arm-randconfig-r001-20230202 (https://download.01.org/0day-ci/archive/20230203/202302030820.3xToOhIG-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add android-common https://android.googlesource.com/kernel/common git fetch --no-tags android-common android14-6.1 git checkout 9c2efcb127bb2168f3f523892a41b969ee3070ce # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_get_fixed_state': >> phylink.c:(.text+0xe6): undefined reference to `linkmode_resolve_pause' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_decode_c37_word': phylink.c:(.text+0x19c): undefined reference to `linkmode_resolve_pause' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mac_config': >> phylink.c:(.text+0x206): undefined reference to `phy_speed_to_str' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x20e): undefined reference to `phy_duplex_to_str' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x238): undefined reference to `__dynamic_netdev_dbg' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x274): undefined reference to `phy_speed_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x27c): undefined reference to `phy_duplex_to_str' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_link_down': >> phylink.c:(.text+0x2c4): undefined reference to `netif_carrier_off' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_emul_read': >> phylink.c:(.text+0x332): undefined reference to `swphy_read_reg' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_major_config': >> phylink.c:(.text+0x39e): undefined reference to `__dynamic_netdev_dbg' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x436): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_change_inband_advert': phylink.c:(.text+0x4fe): undefined reference to `__dynamic_netdev_dbg' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_phy_change': >> phylink.c:(.text+0x5c4): undefined reference to `phy_get_pause' arm-linux-gnueabi-ld: phylink.c:(.text+0x644): undefined reference to `phy_speed_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x64e): undefined reference to `phy_duplex_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x662): undefined reference to `__dynamic_netdev_dbg' arm-linux-gnueabi-ld: phylink.c:(.text+0x698): undefined reference to `phy_speed_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x6a2): undefined reference to `phy_duplex_to_str' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_resolve': >> phylink.c:(.text+0x932): undefined reference to `netif_carrier_on' arm-linux-gnueabi-ld: phylink.c:(.text+0x944): undefined reference to `phy_speed_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x94c): undefined reference to `phy_duplex_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x972): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: phylink.c:(.text+0x984): undefined reference to `phy_speed_to_str' arm-linux-gnueabi-ld: phylink.c:(.text+0x98c): undefined reference to `phy_duplex_to_str' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_parse_mode': >> phylink.c:(.text+0xaa8): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: phylink.c:(.text+0xc86): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_parse_fixedlink': phylink.c:(.text+0xd90): undefined reference to `netdev_printk' >> arm-linux-gnueabi-ld: phylink.c:(.text+0xdbc): undefined reference to `phy_lookup_setting' arm-linux-gnueabi-ld: phylink.c:(.text+0xe44): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: phylink.c:(.text+0xeca): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_bringup_phy': >> phylink.c:(.text+0xf50): undefined reference to `phy_support_asym_pause' arm-linux-gnueabi-ld: phylink.c:(.text+0xfbc): undefined reference to `netdev_printk' >> arm-linux-gnueabi-ld: phylink.c:(.text+0xffa): undefined reference to `phy_attached_info_irq' arm-linux-gnueabi-ld: phylink.c:(.text+0x1020): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: phylink.c:(.text+0x10a2): undefined reference to `__dynamic_netdev_dbg' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x10b0): undefined reference to `phy_request_interrupt' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_connect_phy': >> phylink.c:(.text+0x1310): undefined reference to `phy_attach_direct' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x132a): undefined reference to `phy_detach' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_disconnect_phy': >> phylink.c:(.text+0x13a4): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_start': phylink.c:(.text+0x1492): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x14d6): undefined reference to `netdev_printk' >> arm-linux-gnueabi-ld: phylink.c:(.text+0x14de): undefined reference to `netif_carrier_off' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_stop': phylink.c:(.text+0x1648): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x166e): undefined reference to `phy_stop' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_wol': phylink.c:(.text+0x16d2): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_wol': phylink.c:(.text+0x1722): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_get': phylink.c:(.text+0x1780): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x17a8): undefined reference to `phy_ethtool_ksettings_get' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_set': phylink.c:(.text+0x1822): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x184a): undefined reference to `phy_ethtool_ksettings_set' arm-linux-gnueabi-ld: phylink.c:(.text+0x18ba): undefined reference to `phy_lookup_setting' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_nway_reset': phylink.c:(.text+0x19c0): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x19e6): undefined reference to `phy_restart_aneg' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_pauseparam': phylink.c:(.text+0x1a0a): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_pauseparam': phylink.c:(.text+0x1a5c): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x1ad8): undefined reference to `linkmode_set_pause' arm-linux-gnueabi-ld: phylink.c:(.text+0x1b18): undefined reference to `phy_set_asym_pause' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_get_eee_err': phylink.c:(.text+0x1b54): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_eee': phylink.c:(.text+0x1ba8): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_eee': phylink.c:(.text+0x1bf6): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_ioctl': phylink.c:(.text+0x1c46): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: phylink.c:(.text+0x1cb4): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_speed_down': phylink.c:(.text+0x1dfe): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_speed_up': phylink.c:(.text+0x1e4c): undefined reference to `rtnl_is_locked' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_get_state': phylink.c:(.text+0x1f42): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: phylink.c:(.text+0x1f4e): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_set_advertisement': phylink.c:(.text+0x201a): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: phylink.c:(.text+0x202e): undefined reference to `mdiobus_write' arm-linux-gnueabi-ld: phylink.c:(.text+0x2040): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_config': phylink.c:(.text+0x207a): undefined reference to `mdiobus_modify' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_an_restart': phylink.c:(.text+0x20a4): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c45_pcs_get_state': phylink.c:(.text+0x20d0): undefined reference to `mdiobus_read' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_link_down': phylink.c:(.text+0x2e6): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_major_config': phylink.c:(.text+0x3c8): undefined reference to `netdev_printk' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_disconnect_phy': phylink.c:(.text+0x13fe): undefined reference to `phy_disconnect' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mac_change': phylink.c:(.text+0x144c): undefined reference to `__dynamic_netdev_dbg' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_start': phylink.c:(.text+0x15f4): undefined reference to `phy_start' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_wol': phylink.c:(.text+0x1706): undefined reference to `phy_ethtool_get_wol' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_wol': phylink.c:(.text+0x1750): undefined reference to `phy_ethtool_set_wol' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_get_eee_err': phylink.c:(.text+0x1b80): undefined reference to `phy_get_eee_err' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_init_eee': phylink.c:(.text+0x1b98): undefined reference to `phy_init_eee' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_eee': phylink.c:(.text+0x1bd6): undefined reference to `phy_ethtool_get_eee' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_eee': phylink.c:(.text+0x1c24): undefined reference to `phy_ethtool_set_eee' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_ioctl': phylink.c:(.text+0x1d2c): undefined reference to `mdiobus_write' arm-linux-gnueabi-ld: phylink.c:(.text+0x1d74): undefined reference to `phy_mii_ioctl' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_speed_down': phylink.c:(.text+0x1e32): undefined reference to `phy_speed_down' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_speed_up': phylink.c:(.text+0x1e7e): undefined reference to `phy_speed_up' arm-linux-gnueabi-ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_an_restart': phylink.c:(.text+0x20bc): undefined reference to `mdiobus_write' arm-linux-gnueabi-ld: drivers/media/common/videobuf2/videobuf2-core.o: in function `vb2_core_streamon': videobuf2-core.c:(.text+0x1f0a): undefined reference to `v4l_vb2q_enable_media_source' 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 BALLOON_COMPACTION Depends on [n]: COMPACTION [=n] && MEMORY_BALLOON [=y] Selected by [y]: - GKI_HIDDEN_MM_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_SPY Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for DRM_MIPI_DSI Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for WIRELESS_EXT Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_CORE Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y]) Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=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 DRM_KMS_CMA_HELPER Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for DRM_GEM_CMA_HELPER Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PROC Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_PRIV Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests