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]
Date:   Wed, 5 Oct 2022 10:26:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ardb:libgcm 1/1] gcm.c:undefined reference to `__crypto_xor'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git libgcm
head:   62f6cba4ec493aa44d6dbb3854bd91804afaf3b9
commit: 62f6cba4ec493aa44d6dbb3854bd91804afaf3b9 [1/1] crypto: gcm - Provide minimal library implementation
config: nios2-alldefconfig
compiler: nios2-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=62f6cba4ec493aa44d6dbb3854bd91804afaf3b9
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb libgcm
        git checkout 62f6cba4ec493aa44d6dbb3854bd91804afaf3b9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   nios2-linux-ld: lib/crypto/gcm.o: in function `gcm_crypt':
>> gcm.c:(.text+0x164): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x164): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
>> nios2-linux-ld: gcm.c:(.text+0x1bc): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x1bc): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
>> nios2-linux-ld: gcm.c:(.text+0x1c8): undefined reference to `crypto_inc'
   gcm.c:(.text+0x1c8): relocation truncated to fit: R_NIOS2_CALL26 against `crypto_inc'
   nios2-linux-ld: gcm.c:(.text+0x1dc): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x1dc): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
   nios2-linux-ld: gcm.c:(.text+0x230): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x230): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
   nios2-linux-ld: gcm.c:(.text+0x254): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x254): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
   nios2-linux-ld: gcm.c:(.text+0x260): undefined reference to `crypto_inc'
   gcm.c:(.text+0x260): relocation truncated to fit: R_NIOS2_CALL26 against `crypto_inc'
   nios2-linux-ld: gcm.c:(.text+0x278): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x278): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
   nios2-linux-ld: gcm.c:(.text+0x2b8): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x2b8): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
   nios2-linux-ld: gcm.c:(.text+0x310): undefined reference to `__crypto_xor'
   gcm.c:(.text+0x310): relocation truncated to fit: R_NIOS2_CALL26 against `__crypto_xor'
>> nios2-linux-ld: gcm.c:(.text+0x320): undefined reference to `__crypto_memneq'
   gcm.c:(.text+0x320): additional relocation overflows omitted from the output

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CRYPTO_GF128MUL
   Depends on [n]: CRYPTO [=n]
   Selected by [y]:
   - CRYPTO_LIB_GCM [=y]

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (28156 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ