From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [android-common:android-mainline 1/1] phylink.c:undefined reference to `netdev_printk'
Date: Tue, 29 Jun 2021 16:49:00 +0800 [thread overview]
Message-ID: <202106291657.RGL3fOEC-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 14404 bytes --]
tree: https://android.googlesource.com/kernel/common android-mainline
head: 9c2efcb127bb2168f3f523892a41b969ee3070ce
commit: 9c2efcb127bb2168f3f523892a41b969ee3070ce [1/1] ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS
config: x86_64-buildonly-randconfig-r006-20210629 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-mainline
git checkout 9c2efcb127bb2168f3f523892a41b969ee3070ce
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x91: call to trace_hardirqs_off() leaves .noinstr.text section
vmlinux.o: warning: objtool: fixup_bad_iret()+0x72: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: noist_exc_debug()+0x30: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_nmi()+0x31: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: poke_int3_handler()+0x53: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_machine_check()+0x2f: call to mce_gather_info() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_machine_check()+0x67: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x2e: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_eqs_exit.constprop.0()+0x28: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_eqs_enter.constprop.0()+0x31: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_nmi_enter()+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x48: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x60: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x42: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x46: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x42: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x42: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: context_tracking_recursion_enter()+0x38: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: __context_tracking_enter()+0x25: call to ftrace_likely_update() leaves .noinstr.text section
ld: drivers/net/phy/phylink.o: in function `phylink_get_fixed_state':
phylink.c:(.text+0x214): undefined reference to `linkmode_resolve_pause'
ld: drivers/net/phy/phylink.o: in function `phylink_major_config':
>> phylink.c:(.text+0x376): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_link_down':
>> phylink.c:(.text+0x479): undefined reference to `netif_carrier_off'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_emul_read':
phylink.c:(.text+0x52e): undefined reference to `swphy_read_reg'
ld: drivers/net/phy/phylink.o: in function `phylink_resolve':
>> phylink.c:(.text+0x9d1): undefined reference to `netif_carrier_on'
>> ld: phylink.c:(.text+0xa25): undefined reference to `phy_duplex_to_str'
>> ld: phylink.c:(.text+0xa2d): undefined reference to `phy_speed_to_str'
ld: phylink.c:(.text+0xa3e): undefined reference to `phy_duplex_to_str'
ld: phylink.c:(.text+0xa4a): undefined reference to `phy_speed_to_str'
>> ld: phylink.c:(.text+0xa73): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_phy_change':
phylink.c:(.text+0xb6a): undefined reference to `phy_get_pause'
ld: drivers/net/phy/phylink.o: in function `phylink_decode_c37_word':
phylink.c:(.text+0xce6): undefined reference to `linkmode_resolve_pause'
ld: drivers/net/phy/phylink.o: in function `phylink_parse_mode':
phylink.c:(.text+0x115a): undefined reference to `netdev_printk'
ld: phylink.c:(.text+0x11e6): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_parse_fixedlink':
phylink.c:(.text+0x140a): undefined reference to `netdev_printk'
ld: phylink.c:(.text+0x1502): undefined reference to `netdev_printk'
>> ld: phylink.c:(.text+0x1578): undefined reference to `phy_lookup_setting'
ld: phylink.c:(.text+0x160c): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_connect_phy':
phylink.c:(.text+0x1aa8): undefined reference to `phy_attach_direct'
>> ld: phylink.c:(.text+0x1ad1): undefined reference to `phy_support_asym_pause'
>> ld: phylink.c:(.text+0x1b9c): undefined reference to `phy_attached_info_irq'
ld: phylink.c:(.text+0x1bf6): undefined reference to `netdev_printk'
ld: phylink.c:(.text+0x1c5c): undefined reference to `netdev_printk'
>> ld: phylink.c:(.text+0x1d46): undefined reference to `phy_request_interrupt'
>> ld: phylink.c:(.text+0x1d67): undefined reference to `phy_detach'
ld: drivers/net/phy/phylink.o: in function `phylink_disconnect_phy':
>> phylink.c:(.text+0x1dd8): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_start':
phylink.c:(.text+0x1ea4): undefined reference to `rtnl_is_locked'
ld: phylink.c:(.text+0x1f2c): undefined reference to `netdev_printk'
>> ld: phylink.c:(.text+0x1f49): undefined reference to `netif_carrier_off'
>> ld: phylink.c:(.text+0x20f1): undefined reference to `phy_start'
ld: drivers/net/phy/phylink.o: in function `phylink_stop':
phylink.c:(.text+0x212b): undefined reference to `rtnl_is_locked'
>> ld: phylink.c:(.text+0x2172): undefined reference to `phy_stop'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_wol':
phylink.c:(.text+0x2207): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_wol':
phylink.c:(.text+0x225d): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_get':
phylink.c:(.text+0x22be): undefined reference to `rtnl_is_locked'
>> ld: phylink.c:(.text+0x22ef): undefined reference to `phy_ethtool_ksettings_get'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_ksettings_set':
phylink.c:(.text+0x238d): undefined reference to `rtnl_is_locked'
>> ld: phylink.c:(.text+0x23be): undefined reference to `phy_ethtool_ksettings_set'
ld: phylink.c:(.text+0x245f): undefined reference to `phy_lookup_setting'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_nway_reset':
phylink.c:(.text+0x26a8): undefined reference to `rtnl_is_locked'
>> ld: phylink.c:(.text+0x26d5): undefined reference to `phy_restart_aneg'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_pauseparam':
phylink.c:(.text+0x2705): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_pauseparam':
phylink.c:(.text+0x2761): undefined reference to `rtnl_is_locked'
>> ld: phylink.c:(.text+0x286a): undefined reference to `linkmode_set_pause'
>> ld: phylink.c:(.text+0x28e9): undefined reference to `phy_set_asym_pause'
ld: drivers/net/phy/phylink.o: in function `phylink_get_eee_err':
phylink.c:(.text+0x2933): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_eee':
phylink.c:(.text+0x29a9): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_eee':
phylink.c:(.text+0x29fc): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_ioctl':
phylink.c:(.text+0x2a62): undefined reference to `rtnl_is_locked'
ld: phylink.c:(.text+0x2bb4): undefined reference to `mdiobus_read'
ld: phylink.c:(.text+0x2ccb): undefined reference to `mdiobus_write'
ld: phylink.c:(.text+0x2cdb): undefined reference to `phy_mii_ioctl'
ld: drivers/net/phy/phylink.o: in function `phylink_speed_down':
phylink.c:(.text+0x2dc2): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_speed_up':
phylink.c:(.text+0x2e1a): undefined reference to `rtnl_is_locked'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_get_state':
phylink.c:(.text+0x2f85): undefined reference to `mdiobus_read'
ld: phylink.c:(.text+0x2f97): undefined reference to `mdiobus_read'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_set_advertisement':
phylink.c:(.text+0x311b): undefined reference to `mdiobus_read'
ld: phylink.c:(.text+0x3159): undefined reference to `mdiobus_write'
ld: phylink.c:(.text+0x319a): undefined reference to `mdiobus_read'
ld: phylink.c:(.text+0x31c3): undefined reference to `mdiobus_write'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_config':
phylink.c:(.text+0x3238): undefined reference to `mdiobus_modify'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_an_restart':
phylink.c:(.text+0x3285): undefined reference to `mdiobus_read'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c45_pcs_get_state':
phylink.c:(.text+0x32d1): undefined reference to `mdiobus_read'
ld: drivers/net/phy/phylink.o: in function `phylink_major_config':
phylink.c:(.text+0x43c): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_link_down':
phylink.c:(.text+0x4c6): undefined reference to `netdev_printk'
ld: drivers/net/phy/phylink.o: in function `phylink_disconnect_phy':
phylink.c:(.text+0x1e54): undefined reference to `phy_disconnect'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_wol':
phylink.c:(.text+0x2241): undefined reference to `phy_ethtool_get_wol'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_wol':
phylink.c:(.text+0x228f): undefined reference to `phy_ethtool_set_wol'
ld: drivers/net/phy/phylink.o: in function `phylink_get_eee_err':
phylink.c:(.text+0x2961): undefined reference to `phy_get_eee_err'
ld: drivers/net/phy/phylink.o: in function `phylink_init_eee':
phylink.c:(.text+0x298a): undefined reference to `phy_init_eee'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_get_eee':
phylink.c:(.text+0x29db): undefined reference to `phy_ethtool_get_eee'
ld: drivers/net/phy/phylink.o: in function `phylink_ethtool_set_eee':
phylink.c:(.text+0x2a2e): undefined reference to `phy_ethtool_set_eee'
ld: drivers/net/phy/phylink.o: in function `phylink_speed_down':
phylink.c:(.text+0x2e00): undefined reference to `phy_speed_down'
ld: drivers/net/phy/phylink.o: in function `phylink_speed_up':
phylink.c:(.text+0x2e54): undefined reference to `phy_speed_up'
ld: drivers/net/phy/phylink.o: in function `phylink_mii_c22_pcs_an_restart':
phylink.c:(.text+0x32a6): undefined reference to `mdiobus_write'
ld: drivers/media/common/videobuf2/videobuf2-core.o: in function `vb2_core_streamon':
videobuf2-core.c:(.text+0x3bde): undefined reference to `v4l_vb2q_enable_media_source'
ld: drivers/power/supply/rt9455_charger.o: in function `rt9455_probe':
rt9455_charger.c:(.text+0x1795): undefined reference to `devm_usb_get_phy'
ld: drivers/power/supply/isp1704_charger.o: in function `isp1704_charger_probe':
isp1704_charger.c:(.text+0x20d): undefined reference to `devm_usb_get_phy_by_phandle'
ld: isp1704_charger.c:(.text+0x223): undefined reference to `devm_usb_get_phy'
ld: drivers/power/supply/bq25890_charger.o: in function `bq25890_probe':
bq25890_charger.c:(.text+0x10ef): undefined reference to `devm_usb_get_phy'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on USB_SUPPORT
Selected by
- GKI_HIDDEN_USB_CONFIGS
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for PHYLINK
Depends on NETDEVICES
Selected by
- GKI_HIDDEN_ETHERNET_CONFIGS
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on NET && WIRELESS && (CFG80211_WEXT || WIRELESS_EXT
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on NET
Selected by
- GKI_HIDDEN_NET_CONFIGS
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on NET && WIRELESS && PROC_FS && WEXT_CORE
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on NET
Selected by
- GKI_HIDDEN_NET_CONFIGS
WARNING: unmet direct dependencies detected for BALLOON_COMPACTION
Depends on COMPACTION && MEMORY_BALLOON
Selected by
- GKI_HIDDEN_MM_CONFIGS
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36134 bytes --]
reply other threads:[~2021-06-29 8:49 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=202106291657.RGL3fOEC-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.