All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Danny Tsen <dtsen@linux.ibm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: ld.lld: error: undefined symbol: curve25519_arch
Date: Thu, 23 Jan 2025 02:18:27 +0800	[thread overview]
Message-ID: <202501230223.ikroNDr1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c4b9570cfb63501638db720f3bee9f6dfd044b82
commit: b42519dbba838c928e82b55f32712fbe3eed2c45 crypto: ppc/curve25519 - Update Kconfig and Makefile for ppc64le
date:   8 months ago
config: powerpc64-randconfig-r111-20250122 (https://download.01.org/0day-ci/archive/20250123/202501230223.ikroNDr1-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20250123/202501230223.ikroNDr1-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/202501230223.ikroNDr1-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: curve25519_arch
   >>> referenced by curve25519.h:39 (include/crypto/curve25519.h:39)
   >>>               lib/crypto/curve25519-selftest.o:(curve25519_selftest) in archive vmlinux.a
   >>> referenced by curve25519.h:39 (include/crypto/curve25519.h:39)
   >>>               lib/crypto/curve25519-selftest.o:(curve25519_selftest) in archive vmlinux.a
   >>> referenced by curve25519.h:39 (include/crypto/curve25519.h:39)
   >>>               drivers/net/wireguard/noise.o:(wg_noise_precompute_static_static) in archive vmlinux.a
   >>> referenced 1 more times
--
>> ld.lld: error: undefined symbol: curve25519_base_arch
   >>> referenced by curve25519.h:55 (include/crypto/curve25519.h:55)
   >>>               lib/crypto/curve25519-selftest.o:(curve25519_selftest) in archive vmlinux.a
   >>> referenced by curve25519.h:55 (include/crypto/curve25519.h:55)
   >>>               drivers/net/wireguard/noise.o:(wg_noise_set_static_identity_private_key) in archive vmlinux.a
   >>> referenced by curve25519.h:55 (include/crypto/curve25519.h:55)
   >>>               drivers/net/wireguard/noise.o:(wg_noise_handshake_create_initiation) in archive vmlinux.a
   >>> referenced 2 more times
--
>> ld.lld: error: undefined symbol: curve25519_generic
   >>> referenced by curve25519-selftest.c:1307 (lib/crypto/curve25519-selftest.c:1307)
   >>>               lib/crypto/curve25519-selftest.o:(curve25519_selftest) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: curve25519_null_point
   >>> referenced by curve25519-selftest.c
   >>>               lib/crypto/curve25519-selftest.o:(.toc+0x0) in archive vmlinux.a
   >>> referenced by noise.c
   >>>               drivers/net/wireguard/noise.o:(.toc+0x0) in archive vmlinux.a
   >>> referenced by netlink.c
   >>>               drivers/net/wireguard/netlink.o:(.toc+0x8) in archive vmlinux.a
   pahole: .tmp_vmlinux.btf: Invalid argument
   ld.lld: error: .btf.vmlinux.bin.o: unknown file type

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CRYPTO_LIB_CURVE25519
   Depends on [m]: CRYPTO_ARCH_HAVE_LIB_CURVE25519 [=m] || !CRYPTO_ARCH_HAVE_LIB_CURVE25519 [=m]
   Selected by [y]:
   - WIREGUARD [=y] && NETDEVICES [=y] && NET_CORE [=y] && NET [=y] && INET [=y] && (IPV6 [=y] || !IPV6 [=y]) && !KMSAN [=n]

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

             reply	other threads:[~2025-01-22 18:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 18:18 kernel test robot [this message]
2025-02-12  4:48 ` [PATCH] crypto: lib/Kconfig - Fix lib built-in failure when arch is modular Herbert Xu
2025-02-12  5:09   ` Eric Biggers
2025-02-12  5:29     ` Herbert Xu
2025-02-12  5:44       ` Eric Biggers
2025-02-12  5:48         ` Herbert Xu
2025-02-23 13:54   ` kernel test robot
2025-02-24  3:28     ` [PATCH] crypto: lib/Kconfig - Fix lib built-in and modular failure for arm64/mips/s390 Herbert Xu

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=202501230223.ikroNDr1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dtsen@linux.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --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 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.