[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210231011.U13CnbBa-lkp@intel.com>
Date: Sun, 23 Oct 2022 10:09:10 +0800
From: kernel test robot <lkp@...el.com>
To: Jonathan Lemon <jonathan.lemon@...il.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Florian Fainelli <f.fainelli@...il.com>
Subject: ld.lld: error: undefined symbol: bcm_ptp_config_init
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d47136c2801540e80f41ec7e063d8d592568ad76
commit: 39db6be781cd7dfd44ea259acecaf23f8685550b net: phy: broadcom: Add PTP support for some Broadcom PHYs.
date: 4 months ago
config: arm64-randconfig-r013-20221023
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=39db6be781cd7dfd44ea259acecaf23f8685550b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 39db6be781cd7dfd44ea259acecaf23f8685550b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: bcm_ptp_config_init
>>> referenced by broadcom.c
>>> net/phy/broadcom.o:(bcm54xx_config_init) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: bcm_ptp_probe
>>> referenced by broadcom.c
>>> net/phy/broadcom.o:(bcm54xx_phy_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: bcm_ptp_stop
>>> referenced by broadcom.c
>>> net/phy/broadcom.o:(bcm54xx_suspend) in archive drivers/built-in.a
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for BROADCOM_PHY
Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
Selected by [y]:
- BCMGENET [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && HAS_IOMEM [=y] && ARCH_BCM2835 [=y]
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (207001 bytes)
Powered by blists - more mailing lists