linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: crypto tree build failure
@ 2008-08-05  4:02 Stephen Rothwell
  2008-08-05  5:36 ` Herbert Xu
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2008-08-05  4:02 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

Hi Herbert,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

crypto/built-in.o: In function `.test_aead':
testmgr.c:(.text+0x8378): undefined reference to `.crypto_aead_setauthsize'
testmgr.c:(.text+0x874c): undefined reference to `.crypto_aead_setauthsize'
crypto/built-in.o: In function `.alg_test_aead':
testmgr.c:(.text+0x8bb4): undefined reference to `.crypto_alloc_aead'

I added the following patch.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

>From d72a0cb337ed3a553c502e221efbd8dcf725048d Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 5 Aug 2008 14:00:20 +1000
Subject: [PATCH] crypto: tetsmgr linking fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 crypto/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crypto/Makefile b/crypto/Makefile
index 59ab500..ba73c57 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -24,7 +24,7 @@ obj-$(CONFIG_CRYPTO_HASH) += crypto_hash.o
 
 cryptomgr-objs := algboss.o testmgr.o
 
-obj-$(CONFIG_CRYPTO_MANAGER) += cryptomgr.o
+obj-$(CONFIG_CRYPTO_MANAGER) += cryptomgr.o aead.o
 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
 obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
-- 
1.5.6.3


[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply related	[flat|nested] 19+ messages in thread
* linux-next: crypto tree build failure
@ 2008-11-11  4:07 Stephen Rothwell
  2008-11-11  4:22 ` Herbert Xu
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2008-11-11  4:07 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Hi Herbert,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

ERROR: ".crc32c" [net/ipv4/netfilter/nf_nat_proto_sctp.ko] undefined!

I am not quite sure which commit caused this, but there are recent
commits to the crypto tree that play with crc32c, so I am dropping the
crypto tree for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: crypto tree build failure
@ 2008-12-04  2:43 Stephen Rothwell
  2008-12-04  6:38 ` Herbert Xu
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2008-12-04  2:43 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-next, Adrian-Ken Rueegsegger

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Hi Herbert,

Today's linux-next build (x86_64 allmodconfig) failed like this:

crypto/built-in.o: In function `md5_mod_init':
crypto/md5.c:239: undefined reference to `crypto_register_shash'
crypto/built-in.o: In function `md5_mod_fini':
crypto/md5.c:244: undefined reference to `crypto_unregister_shash'

Presumably caused by commit 08cf233c1f29fc1cad8786b3c73647625810665b
("crypto: md5 - Switch to shash").

I have dropped the crypto tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: crypto tree build failure
@ 2009-01-20  2:30 Stephen Rothwell
  2009-01-20  3:04 ` Huang Ying
  2009-01-20  5:21 ` Herbert Xu
  0 siblings, 2 replies; 19+ messages in thread
From: Stephen Rothwell @ 2009-01-20  2:30 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-next, Huang Ying

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

Hi Herbert,

Today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/crypto/aesni-intel_glue.c:22:21: error: asm/aes.h: No such file or directory
arch/x86/crypto/aesni-intel_glue.c: In function 'aes_encrypt':
arch/x86/crypto/aesni-intel_glue.c:98: error: implicit declaration of function 'crypto_aes_encrypt_x86'
arch/x86/crypto/aesni-intel_glue.c: In function 'aes_decrypt':
arch/x86/crypto/aesni-intel_glue.c:111: error: implicit declaration of function 'crypto_aes_decrypt_x86'

Immediate cause is commit 9afc33f2f32204a779ef6c96728a034bcf4df29f
("crypto: aes-ni - Add support to Intel AES-NI instructions for x86_64
platform").

I have dropped the crypto tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* linux-next: crypto tree build failure
@ 2009-04-22  4:47 Stephen Rothwell
  2009-04-22  5:00 ` Herbert Xu
  0 siblings, 1 reply; 19+ messages in thread
From: Stephen Rothwell @ 2009-04-22  4:47 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-next, Sebastian Andrzej Siewior

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

Hi Herbert,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/crypto/padlock-aes.c:21:22: error: asm/i387.h: No such file or directory
drivers/crypto/padlock-aes.c: In function 'aes_encrypt':
drivers/crypto/padlock-aes.c:251: error: implicit declaration of function 'irq_ts_save'
drivers/crypto/padlock-aes.c:253: error: implicit declaration of function 'irq_ts_restore'
drivers/crypto/padlock-aes.c: In function 'padlock_init':
drivers/crypto/padlock-aes.c:458: error: 'cpu_has_xcrypt' undeclared (first use in this function)
drivers/crypto/padlock-aes.c:463: error: 'cpu_has_xcrypt_enabled' undeclared (first use in this function)
drivers/crypto/padlock-sha.c:25:22: error: asm/i387.h: No such file or directory
drivers/crypto/padlock-sha.c: In function 'padlock_do_sha1':
drivers/crypto/padlock-sha.c:115: error: implicit declaration of function 'irq_ts_save'
drivers/crypto/padlock-sha.c:119: error: implicit declaration of function 'irq_ts_restore'
drivers/crypto/padlock-sha.c: In function 'padlock_init':
drivers/crypto/padlock-sha.c:265: error: 'cpu_has_phe' undeclared (first use in this function)
drivers/crypto/padlock-sha.c:270: error: 'cpu_has_phe_enabled' undeclared (first use in this function)

Caused by commit 93628c83b00492fc592a29d0dc91efb1d55c6e24 ("crypto:
padlock - Enable on x86_64") which actually enabled it for everything
(except UML)!

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-04-22  7:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-05  4:02 linux-next: crypto tree build failure Stephen Rothwell
2008-08-05  5:36 ` Herbert Xu
2008-08-05 13:33   ` Stephen Rothwell
2008-08-05 14:05     ` Herbert Xu
2008-08-05 14:20       ` Stephen Rothwell
2008-11-11  4:07 Stephen Rothwell
2008-11-11  4:22 ` Herbert Xu
2008-11-11  5:34   ` Stephen Rothwell
2008-12-04  2:43 Stephen Rothwell
2008-12-04  6:38 ` Herbert Xu
2009-01-20  2:30 Stephen Rothwell
2009-01-20  3:04 ` Huang Ying
2009-01-20  4:57   ` Herbert Xu
2009-01-20  5:21 ` Herbert Xu
2009-01-20  5:44   ` Stephen Rothwell
2009-04-22  4:47 Stephen Rothwell
2009-04-22  5:00 ` Herbert Xu
2009-04-22  7:06   ` Stephen Rothwell
2009-04-22  7:36   ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).