lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202501230223.ikroNDr1-lkp@intel.com>
Date: Thu, 23 Jan 2025 02:18:27 +0800
From: kernel test robot <lkp@...el.com>
To: Danny Tsen <dtsen@...ux.ibm.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Herbert Xu <herbert@...dor.apana.org.au>
Subject: ld.lld: error: undefined symbol: curve25519_arch

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ