[cryptodev:master 98/113] arch/arm64/crypto/aes-glue.c:353: undefined reference to `simd_skcipher_free'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   eb0955935e2ae3aa1fc9c34ec684ffe086e81da7
commit: d0ed0db149fce92f4d69490f18be23ddc470bf6f [98/113] crypto: arm64/aes - Convert to skcipher
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d0ed0db149fce92f4d69490f18be23ddc470bf6f
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   arch/arm64/crypto/built-in.o: In function `aes_exit':
>> arch/arm64/crypto/aes-glue.c:353: undefined reference to `simd_skcipher_free'
   arch/arm64/crypto/aes-glue.c:353:(.text+0x2440): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `simd_skcipher_free'
>> arch/arm64/crypto/aes-glue.c:353: undefined reference to `simd_skcipher_free'
   arch/arm64/crypto/aes-glue.c:353:(.text+0x2454): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `simd_skcipher_free'
   arch/arm64/crypto/built-in.o: In function `aes_init':
>> arch/arm64/crypto/aes-glue.c:375: undefined reference to `simd_skcipher_create_compat'
   arch/arm64/crypto/aes-glue.c:375:(.init.text+0x150): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `simd_skcipher_create_compat'

vim +353 arch/arm64/crypto/aes-glue.c

   347	
   348	static void aes_exit(void)
   349	{
   350		int i;
   351	
   352		for (i = 0; i < ARRAY_SIZE(aes_simd_algs) && aes_simd_algs[i]; i++)
 > 353			simd_skcipher_free(aes_simd_algs[i]);
   354	
   355		crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs));
   356	}
   357	
   358	static int __init aes_init(void)
   359	{
   360		struct simd_skcipher_alg *simd;
   361		const char *basename;
   362		const char *algname;
   363		const char *drvname;
   364		int err;
   365		int i;
   366	
   367		err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs));
   368		if (err)
   369			return err;
   370	
   371		for (i = 0; i < ARRAY_SIZE(aes_algs); i++) {
   372			algname = aes_algs[i].base.cra_name + 2;
   373			drvname = aes_algs[i].base.cra_driver_name + 2;
   374			basename = aes_algs[i].base.cra_driver_name;
 > 375			simd = simd_skcipher_create_compat(algname, drvname, basename);
   376			err = PTR_ERR(simd);
   377			if (IS_ERR(simd))
   378				goto unregister_simds;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux