arch/mips/bcm47xx/setup.c:undefined reference to `fixed_phy_add'

From: kernel test robot
Date: Mon Jan 23 2023 - 01:34:07 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2475bf0250dee99b477e0c56d7dc9d7ac3f04117
commit: 61f2b7c7497ba96cdde5bbaeb9e07f4c48f41f97 Makefile.debug: set -g unconditional on CONFIG_DEBUG_INFO_SPLIT
date: 4 months ago
config: mips-randconfig-r015-20230123 (https://download.01.org/0day-ci/archive/20230123/202301231443.tZp0eLH6-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=61f2b7c7497ba96cdde5bbaeb9e07f4c48f41f97
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 61f2b7c7497ba96cdde5bbaeb9e07f4c48f41f97
# 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=mips olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

mipsel-linux-ld: mipsel-linux-ld: DWARF error: could not find abbrev number 70
arch/mips/bcm47xx/setup.o: in function `bcm47xx_register_bus_complete':
>> arch/mips/bcm47xx/setup.c:(.init.text+0x130): undefined reference to `fixed_phy_add'

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