Skip to contentSkip to conversation

sparc-linux-ld: lib/crypto/aes.c:1450:undefined reference to `ghash_update'

PATCH kernel test robot 1 participant 1 message Jul 22

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   290aaf24a551d5a0dce037e3fab30820f9113a10
commit: 2bbb643994354c3abb2993ae699b017c21e558e9 [6610/8209] lib/crypto: aes: Add GCM support
config: sparc-randconfig-001-20260722 (https://download.01.org/0day-ci/archive/20260722/[email protected]/config)
compiler: sparc-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260722/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

sparc-linux-ld: lib/crypto/aes.o: in function `ghash_pad':
lib/crypto/aes.c:1403:(.text+0x19f8): undefined reference to `ghash_update'
sparc-linux-ld: lib/crypto/aes.o: in function `aes_gcm_crypt_update':
lib/crypto/aes.c:1429:(.text+0x1a4c): undefined reference to `ghash_update'

>> sparc-linux-ld: lib/crypto/aes.c:1450:(.text+0x1a90): undefined reference to `ghash_update'
   sparc-linux-ld: lib/crypto/aes.c:1478:(.text+0x1ae0): undefined reference to `ghash_update'
   sparc-linux-ld: lib/crypto/aes.o: in function `ghash_pad':
   lib/crypto/aes.c:1403:(.text+0x1b7c): undefined reference to `ghash_update'
   sparc-linux-ld: lib/crypto/aes.o:lib/crypto/aes.c:1431: more undefined references to `ghash_update' follow
   sparc-linux-ld: lib/crypto/aes.o: in function `aes_gcm_encrypt_final':
>> lib/crypto/aes.c:1518:(.text+0x1df4): undefined reference to `ghash_final'
   sparc-linux-ld: lib/crypto/aes.o: in function `ghash_pad':
   lib/crypto/aes.c:1403:(.text+0x1f50): undefined reference to `ghash_update'
   sparc-linux-ld: lib/crypto/aes.o: in function `aes_gcm_decrypt_final':
   lib/crypto/aes.c:1541:(.text+0x1fa0): undefined reference to `ghash_update'
>> sparc-linux-ld: lib/crypto/aes.c:1542:(.text+0x1fac): undefined reference to `ghash_final'

sparc-linux-ld: lib/crypto/aes.o: in function `aes_gcm_auth_update':
lib/crypto/aes.c:1392:(.text+0x2050): undefined reference to `ghash_update'
sparc-linux-ld: lib/crypto/aes.o: in function `aes_gcm_preparekey':
lib/crypto/aes.c:1362:(.text+0x2824): undefined reference to `ghash_preparekey'

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