Re: ERROR: modpost: "__raw_writesl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!

From: Philip Li
Date: Fri Aug 06 2021 - 06:29:10 EST


On Wed, Aug 04, 2021 at 10:18:10AM -0700, Nick Desaulniers wrote:
> On Wed, Aug 4, 2021 at 4:39 AM kernel test robot <lkp@xxxxxxxxx> wrote:
> >
> > Hi Nathan,
> >
> > First bad commit (maybe != root cause):
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: d5ad8ec3cfb56a017de6a784835666475b4be349
> > commit: 6fef087d0d37ba7dba8f3d75566eb4c256cd6742 hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
> > date: 4 weeks ago
> > config: hexagon-randconfig-r023-20210804 (attached as .config)
>
> cool, one of the first reports from 0day bot of hexagon :)
:-) yeah, we just enabled it. BTW: we use one specific version of clang,
does such hexagon support work in latest clang 14.0.0?

Thanks

>
> > compiler: clang version 12.0.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=6fef087d0d37ba7dba8f3d75566eb4c256cd6742
> > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > git fetch --no-tags linus master
> > git checkout 6fef087d0d37ba7dba8f3d75566eb4c256cd6742
> > # save the attached .config to linux build tree
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> >
> > All errors (new ones prefixed by >>, old ones prefixed by <<):
> >
> > >> ERROR: modpost: "__raw_writesl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
> > >> ERROR: modpost: "__raw_readsl" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
> >
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
>
>
>
> --
> Thanks,
> ~Nick Desaulniers