All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:wip-rm-mmx 1/1] lib/raid/xor/xor-core.c:58:undefined reference to `xor_block_sse'
@ 2026-10-20  2:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-20  2:05 UTC (permalink / raw)
  To: Eric Biggers; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git wip-rm-mmx
head:   6f82cce65eef74ed32bdf4f86b884f3fabe950c6
commit: 6f82cce65eef74ed32bdf4f86b884f3fabe950c6 [1/1] raid: remove MMX optimized code
config: um-randconfig-1000-20261019 (https://download.01.org/0day-ci/archive/20261020/202610200957.9LSVeYFv-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6719b9e31d6a93099612c474eec76d9f41d0275a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261020/202610200957.9LSVeYFv-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/202610200957.9LSVeYFv-lkp@intel.com/

All errors (new ones prefixed by >>):

   /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
   /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.o: in function `xor_register':
>> lib/raid/xor/xor-core.c:58:(.init.text+0x2ac): undefined reference to `xor_block_sse'
>> /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.c:58:(.init.text+0x2b2): undefined reference to `xor_block_sse_pf64'
>> /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.c:58:(.init.text+0x2b6): undefined reference to `xor_block_sse'
   /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.c:58:(.init.text+0x2bb): undefined reference to `xor_block_sse_pf64'
   /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.o: in function `xor_force':
>> lib/raid/xor/xor-core.c:72:(.init.text+0x2e4): undefined reference to `xor_block_avx'
>> /usr/lib/gcc/i686-linux-gnu/14/../../../../i686-linux-gnu/bin/ld: lib/raid/xor/xor-core.c:72:(.init.text+0x2e9): undefined reference to `xor_block_avx'
   clang: error: linker command failed with exit code 1 (use -v to see invocation)


vim +58 lib/raid/xor/xor-core.c

^1da177e4c3f41 drivers/md/xor.c        Linus Torvalds    2005-04-16  47  
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  48  /**
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  49   * xor_register - register a XOR template
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  50   * @tmpl:	template to register
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  51   *
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  52   * Register a XOR implementation with the core.  Registered implementations
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  53   * will be measured by a trivial benchmark, and the fastest one is chosen
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  54   * unless an implementation is forced using xor_force().
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  55   */
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  56  void __init xor_register(struct xor_block_template *tmpl)
524ccdbdfb5260 crypto/xor.c            Ard Biesheuvel    2020-09-26  57  {
524ccdbdfb5260 crypto/xor.c            Ard Biesheuvel    2020-09-26 @58  	tmpl->next = template_list;
524ccdbdfb5260 crypto/xor.c            Ard Biesheuvel    2020-09-26  59  	template_list = tmpl;
524ccdbdfb5260 crypto/xor.c            Ard Biesheuvel    2020-09-26  60  }
524ccdbdfb5260 crypto/xor.c            Ard Biesheuvel    2020-09-26  61  
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  62  /**
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  63   * xor_force - force use of a XOR template
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  64   * @tmpl:	template to register
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  65   *
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  66   * Register a XOR implementation with the core and force using it.  Forcing
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  67   * an implementation will make the core ignore any template registered using
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  68   * xor_register(), or any previous implementation forced using xor_force().
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  69   */
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  70  void __init xor_force(struct xor_block_template *tmpl)
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  71  {
a21921dd02d305 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27 @72  	forced_template = tmpl;
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  73  }
35ebc4de105989 lib/raid/xor/xor-core.c Christoph Hellwig 2026-03-27  74  

:::::: The code at line 58 was first introduced by commit
:::::: 524ccdbdfb52608e9b98fcd64f4337add7009f41 crypto: xor - defer load time benchmark to a later time

:::::: TO: Ard Biesheuvel <ardb@kernel.org>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-20  2:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20  2:05 [ebiggers:wip-rm-mmx 1/1] lib/raid/xor/xor-core.c:58:undefined reference to `xor_block_sse' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.