From: kernel test robot <lkp@intel.com>
To: Eric Biggers <ebiggers@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [ebiggers:wip-rm-mmx 1/1] lib/raid/xor/xor-core.c:58:undefined reference to `xor_block_sse'
Date: Tue, 20 Oct 2026 10:05:09 +0800 [thread overview]
Message-ID: <202610200957.9LSVeYFv-lkp@intel.com> (raw)
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
reply other threads:[~2026-10-20 2:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610200957.9LSVeYFv-lkp@intel.com \
--to=lkp@intel.com \
--cc=ebiggers@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox