mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:locking/core 27/43] ld.lld: error: undefined symbol: _raw_write_trylock
@ 2026-02-03 13:26 kernel test robot
  2026-02-03 22:59 ` Marco Elver
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-02-03 13:26 UTC (permalink / raw)
  To: Marco Elver; +Cc: oe-kbuild-all, linux-kernel, x86, Peter Zijlstra

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head:   451c3a0356099483218535aed17fcf94ab5764a3
commit: e4588c25c9d122b5847b88e18b184404b6959160 [27/43] compiler-context-analysis: Remove __cond_lock() function-like helper
config: s390-randconfig-r051-20260203 (https://download.01.org/0day-ci/archive/20260203/202602032101.dbxRfsWO-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260203/202602032101.dbxRfsWO-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602032101.dbxRfsWO-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: _raw_write_trylock
   >>> referenced by rwlock_api_smp.h:48 (include/linux/rwlock_api_smp.h:48)
   >>>               lib/test_context-analysis.o:(test_write_trylock_extra) in archive vmlinux.a
   >>> referenced by rwlock_api_smp.h:48 (include/linux/rwlock_api_smp.h:48)
   >>>               lib/test_context-analysis.o:(test_write_trylock_extra) in archive vmlinux.a

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CAN_DEV
   Depends on [n]: NETDEVICES [=n] && CAN [=y]
   Selected by [y]:
   - CAN [=y] && NET [=y]

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

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

* Re: [tip:locking/core 27/43] ld.lld: error: undefined symbol: _raw_write_trylock
  2026-02-03 13:26 [tip:locking/core 27/43] ld.lld: error: undefined symbol: _raw_write_trylock kernel test robot
@ 2026-02-03 22:59 ` Marco Elver
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Elver @ 2026-02-03 22:59 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, x86, Peter Zijlstra

On Tue, 3 Feb 2026 at 14:27, kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
> head:   451c3a0356099483218535aed17fcf94ab5764a3
> commit: e4588c25c9d122b5847b88e18b184404b6959160 [27/43] compiler-context-analysis: Remove __cond_lock() function-like helper
> config: s390-randconfig-r051-20260203 (https://download.01.org/0day-ci/archive/20260203/202602032101.dbxRfsWO-lkp@intel.com/config)
> compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260203/202602032101.dbxRfsWO-lkp@intel.com/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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202602032101.dbxRfsWO-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: undefined symbol: _raw_write_trylock
>    >>> referenced by rwlock_api_smp.h:48 (include/linux/rwlock_api_smp.h:48)
>    >>>               lib/test_context-analysis.o:(test_write_trylock_extra) in archive vmlinux.a
>    >>> referenced by rwlock_api_smp.h:48 (include/linux/rwlock_api_smp.h:48)
>    >>>               lib/test_context-analysis.o:(test_write_trylock_extra) in archive vmlinux.a

I think this should fix it (and hopefully not break anything else):
https://lore.kernel.org/all/20260203225114.3493538-1-elver@google.com/

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

end of thread, other threads:[~2026-02-03 22:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-03 13:26 [tip:locking/core 27/43] ld.lld: error: undefined symbol: _raw_write_trylock kernel test robot
2026-02-03 22:59 ` Marco Elver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®