Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200454 > unrolled thread

linux-next: build failure after merge of the crypto tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2015-08-05 08:50 +0200
Last post2015-08-05 09:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the crypto tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-08-05 08:50 +0200
    Re: linux-next: build failure after merge of the crypto tree Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-05 09:30 +0200

#1200454 — linux-next: build failure after merge of the crypto tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2015-08-05 08:50 +0200
Subjectlinux-next: build failure after merge of the crypto tree
Message-ID<pU0Gu-1R0-9@gated-at.bofh.it>
Hi Herbert,

After merging the crypto tree, today's linux-next build (sparc64
defconfig) failed like this:

crypto/built-in.o: In function `crypto_authenc_exit_tfm':
authenc.c:(.text+0x11d1c): undefined reference to `crypto_put_default_null_skcipher'
crypto/built-in.o: In function `crypto_authenc_init_tfm':
authenc.c:(.text+0x11d7c): undefined reference to `crypto_get_default_null_skcipher'

Caused by commit

  92d95ba91772 ("crypto: authenc - Convert to new AEAD interface")

Those symbols depend on CONFIG_CRYPTO_NULL which is set to 'm' for
this build.

I have added this fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 5 Aug 2015 16:41:48 +1000
Subject: [PATCH] crypto: authenc - select CRYPTO_NULL

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 354bb692c964..ac7cc6226e61 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -200,6 +200,7 @@ config CRYPTO_AUTHENC
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_MANAGER
 	select CRYPTO_HASH
+	select CRYPTO_NULL
 	help
 	  Authenc: Combined mode wrapper for IPsec.
 	  This is required for IPSec.
-- 
2.5.0

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1200474

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2015-08-05 09:30 +0200
Message-ID<pU1jb-2Rg-3@gated-at.bofh.it>
In reply to#1200454
On Wed, Aug 05, 2015 at 04:49:31PM +1000, Stephen Rothwell wrote:
> Hi Herbert,
> 
> After merging the crypto tree, today's linux-next build (sparc64
> defconfig) failed like this:
> 
> crypto/built-in.o: In function `crypto_authenc_exit_tfm':
> authenc.c:(.text+0x11d1c): undefined reference to `crypto_put_default_null_skcipher'
> crypto/built-in.o: In function `crypto_authenc_init_tfm':
> authenc.c:(.text+0x11d7c): undefined reference to `crypto_get_default_null_skcipher'
> 
> Caused by commit
> 
>   92d95ba91772 ("crypto: authenc - Convert to new AEAD interface")
> 
> Those symbols depend on CONFIG_CRYPTO_NULL which is set to 'm' for
> this build.

Thanks Stephen.  I already have a similar patch in my tree which
I will push out soon.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web