All of lore.kernel.org
 help / color / mirror / Atom feed
* ld.lld: error: undefined symbol: curve25519_arch
@ 2025-01-22 18:18 kernel test robot
  2025-02-12  4:48 ` [PATCH] crypto: lib/Kconfig - Fix lib built-in failure when arch is modular Herbert Xu
  0 siblings, 1 reply; 8+ messages in thread
From: kernel test robot @ 2025-01-22 18:18 UTC (permalink / raw)
  To: Danny Tsen; +Cc: oe-kbuild-all, linux-kernel, Herbert Xu

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

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

end of thread, other threads:[~2025-02-24  3:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 18:18 ld.lld: error: undefined symbol: curve25519_arch kernel test robot
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

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.