llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event
@ 2023-06-10 13:10 kernel test robot
  2023-06-12  8:15 ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2023-06-10 13:10 UTC (permalink / raw)
  To: Edward Cree
  Cc: llvm, oe-kbuild-all, Jakub Kicinski, Simon Horman,
	Pieter Jansen van Vuuren

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main
head:   e431e712c83676a8a9cd3988b323e3ef994a8ff3
commit: 7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9 [26/28] sfc: neighbour lookup for TC encap action offload
config: arm-randconfig-r011-20230610 (https://download.01.org/0day-ci/archive/20230610/202306102026.ISK5JfUQ-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9
        git remote add netdev-net-next https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
        git fetch --no-tags netdev-net-next main
        git checkout 7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

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/202306102026.ISK5JfUQ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: efx_tc_netdev_event
   >>> referenced by ef100_netdev.c:313 (drivers/net/ethernet/sfc/ef100_netdev.c:313)
   >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netdev_event) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: efx_tc_netevent_event
   >>> referenced by ef100_netdev.c:329 (drivers/net/ethernet/sfc/ef100_netdev.c:329)
   >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netevent_event) in archive vmlinux.a

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

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

* Re: [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event
  2023-06-10 13:10 [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event kernel test robot
@ 2023-06-12  8:15 ` Simon Horman
  2023-06-12 20:44   ` Edward Cree
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2023-06-12  8:15 UTC (permalink / raw)
  To: kernel test robot
  Cc: Edward Cree, llvm, oe-kbuild-all, Jakub Kicinski,
	Pieter Jansen van Vuuren

On Sat, Jun 10, 2023 at 09:10:45PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main
> head:   e431e712c83676a8a9cd3988b323e3ef994a8ff3
> commit: 7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9 [26/28] sfc: neighbour lookup for TC encap action offload
> config: arm-randconfig-r011-20230610 (https://download.01.org/0day-ci/archive/20230610/202306102026.ISK5JfUQ-lkp@intel.com/config)
> compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
> reproduce (this is a W=1 build):
>         mkdir -p ~/bin
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install arm cross compiling tool for clang build
>         # apt-get install binutils-arm-linux-gnueabi
>         # https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9
>         git remote add netdev-net-next https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
>         git fetch --no-tags netdev-net-next main
>         git checkout 7e5e7d800011adf4aeda615f8a1bc31c0c1e2bb9
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
> 
> 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/202306102026.ISK5JfUQ-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> ld.lld: error: undefined symbol: efx_tc_netdev_event
>    >>> referenced by ef100_netdev.c:313 (drivers/net/ethernet/sfc/ef100_netdev.c:313)
>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netdev_event) in archive vmlinux.a
> --
> >> ld.lld: error: undefined symbol: efx_tc_netevent_event
>    >>> referenced by ef100_netdev.c:329 (drivers/net/ethernet/sfc/ef100_netdev.c:329)
>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netevent_event) in archive vmlinux.a

A cursory investigation leads me to thinking this occurs
if the CONFIG_SFC is set but CONFIG_SFC_SRIOV is not.

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

* Re: [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event
  2023-06-12  8:15 ` Simon Horman
@ 2023-06-12 20:44   ` Edward Cree
  2023-06-13  5:50     ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Cree @ 2023-06-12 20:44 UTC (permalink / raw)
  To: Simon Horman, kernel test robot
  Cc: llvm, oe-kbuild-all, Jakub Kicinski, Pieter Jansen van Vuuren

On 12/06/2023 09:15, Simon Horman wrote:
> On Sat, Jun 10, 2023 at 09:10:45PM +0800, kernel test robot wrote:
>> All errors (new ones prefixed by >>):
>>
>>>> ld.lld: error: undefined symbol: efx_tc_netdev_event
>>    >>> referenced by ef100_netdev.c:313 (drivers/net/ethernet/sfc/ef100_netdev.c:313)
>>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netdev_event) in archive vmlinux.a
>> --
>>>> ld.lld: error: undefined symbol: efx_tc_netevent_event
>>    >>> referenced by ef100_netdev.c:329 (drivers/net/ethernet/sfc/ef100_netdev.c:329)
>>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netevent_event) in archive vmlinux.a
> 
> A cursory investigation leads me to thinking this occurs
> if the CONFIG_SFC is set but CONFIG_SFC_SRIOV is not.

Yep, looks that way.  Patch on its way shortly.

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

* Re: [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event
  2023-06-12 20:44   ` Edward Cree
@ 2023-06-13  5:50     ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2023-06-13  5:50 UTC (permalink / raw)
  To: Edward Cree
  Cc: kernel test robot, llvm, oe-kbuild-all, Jakub Kicinski,
	Pieter Jansen van Vuuren

On Mon, Jun 12, 2023 at 09:44:45PM +0100, Edward Cree wrote:
> On 12/06/2023 09:15, Simon Horman wrote:
> > On Sat, Jun 10, 2023 at 09:10:45PM +0800, kernel test robot wrote:
> >> All errors (new ones prefixed by >>):
> >>
> >>>> ld.lld: error: undefined symbol: efx_tc_netdev_event
> >>    >>> referenced by ef100_netdev.c:313 (drivers/net/ethernet/sfc/ef100_netdev.c:313)
> >>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netdev_event) in archive vmlinux.a
> >> --
> >>>> ld.lld: error: undefined symbol: efx_tc_netevent_event
> >>    >>> referenced by ef100_netdev.c:329 (drivers/net/ethernet/sfc/ef100_netdev.c:329)
> >>    >>>               drivers/net/ethernet/sfc/ef100_netdev.o:(ef100_netevent_event) in archive vmlinux.a
> > 
> > A cursory investigation leads me to thinking this occurs
> > if the CONFIG_SFC is set but CONFIG_SFC_SRIOV is not.
> 
> Yep, looks that way.  Patch on its way shortly.

Thanks Edward, much appreciated.

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

end of thread, other threads:[~2023-06-13  5:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 13:10 [netdev-net-next:main 26/28] ld.lld: error: undefined symbol: efx_tc_netdev_event kernel test robot
2023-06-12  8:15 ` Simon Horman
2023-06-12 20:44   ` Edward Cree
2023-06-13  5:50     ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).