2024-04-09 06:46:38

by kernel test robot

[permalink] [raw]
Subject: [paulmck-rcu:dev.2024.04.04b 59/65] controller.c:undefined reference to `cmpxchg_emu_u8'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.04.04b
head: e2a520f3f3921cb5d3c9631917fccf8c215991ce
commit: 5ce37a62e3d207bd20d4c850c4547816c0dd9c22 [59/65] EXP arch/x86: Test one-byte cmpxchg emulation
config: i386-buildonly-randconfig-006-20240409 (https://download.01.org/0day-ci/archive/20240409/[email protected]/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240409/[email protected]/reproduce)

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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

ld: drivers/platform/surface/aggregator/controller.o: in function `ssam_request_write_data':
>> controller.c:(.text+0xcdf): undefined reference to `cmpxchg_emu_u8'

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


2024-04-09 15:56:25

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [paulmck-rcu:dev.2024.04.04b 59/65] controller.c:undefined reference to `cmpxchg_emu_u8'

On Tue, Apr 09, 2024 at 02:44:49PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.04.04b
> head: e2a520f3f3921cb5d3c9631917fccf8c215991ce
> commit: 5ce37a62e3d207bd20d4c850c4547816c0dd9c22 [59/65] EXP arch/x86: Test one-byte cmpxchg emulation
> config: i386-buildonly-randconfig-006-20240409 (https://download.01.org/0day-ci/archive/20240409/[email protected]/config)
> compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240409/[email protected]/reproduce)
>
> 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 <[email protected]>
> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
>
> All errors (new ones prefixed by >>):
>
> ld: drivers/platform/surface/aggregator/controller.o: in function `ssam_request_write_data':
> >> controller.c:(.text+0xcdf): undefined reference to `cmpxchg_emu_u8'

I believe that this is fixed in this updated version:

b8eb8a06afe1 ("EXP arch/x86: Test one-byte cmpxchg emulation")

But please let me know if I am missing something here.

Thanx, Paul

2024-04-09 16:43:22

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [paulmck-rcu:dev.2024.04.04b 59/65] controller.c:undefined reference to `cmpxchg_emu_u8'

On Tue, Apr 09, 2024 at 08:56:05AM -0700, Paul E. McKenney wrote:
> On Tue, Apr 09, 2024 at 02:44:49PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.04.04b
> > head: e2a520f3f3921cb5d3c9631917fccf8c215991ce
> > commit: 5ce37a62e3d207bd20d4c850c4547816c0dd9c22 [59/65] EXP arch/x86: Test one-byte cmpxchg emulation
> > config: i386-buildonly-randconfig-006-20240409 (https://download.01.org/0day-ci/archive/20240409/[email protected]/config)
> > compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240409/[email protected]/reproduce)
> >
> > 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 <[email protected]>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> >
> > All errors (new ones prefixed by >>):
> >
> > ld: drivers/platform/surface/aggregator/controller.o: in function `ssam_request_write_data':
> > >> controller.c:(.text+0xcdf): undefined reference to `cmpxchg_emu_u8'
>
> I believe that this is fixed in this updated version:
>
> b8eb8a06afe1 ("EXP arch/x86: Test one-byte cmpxchg emulation")
>
> But please let me know if I am missing something here.

OK, what I am missing is my failure to have changed ARCH_NEED_CMPXCHG_1_2_EMU
to ARCH_NEED_CMPXCHG_1_EMU. On it! And yet again, thank you for your testing
efforts.

Thanx, Paul