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


Groups > linux.kernel > #1370644 > unrolled thread

Re: gcm.c:undefined reference to `crypto_aead_setauthsize'

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2016-04-04 16:10 +0200
Last post2016-04-05 09:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: gcm.c:undefined reference to `crypto_aead_setauthsize' Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-04 16:10 +0200
    Re: gcm.c:undefined reference to `crypto_aead_setauthsize' Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-05 09:20 +0200
    RE: gcm.c:undefined reference to `crypto_aead_setauthsize' "Li, Philip" <philip.li@intel.com> - 2016-04-05 09:20 +0200

#1370644 — Re: gcm.c:undefined reference to `crypto_aead_setauthsize'

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-04-04 16:10 +0200
SubjectRe: gcm.c:undefined reference to `crypto_aead_setauthsize'
Message-ID<rkdmz-47v-25@gated-at.bofh.it>
On Fri, Apr 01, 2016 at 03:02:30PM +0000, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   6ddf37da05cd71bf9e43349d607e810b43c9008a
> commit: c09440f7dcb304002dfced8c0fea289eb25f2da0 macsec: introduce IEEE 802.1AE driver
> date:   3 weeks ago
> config: x86_64-randconfig-s3-04012139 (attached as .config)
> reproduce:
>         git checkout c09440f7dcb304002dfced8c0fea289eb25f2da0
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    crypto/built-in.o: In function `gcm_enc_copy_hash':
> >> gcm.c:(.text+0x278): undefined reference to `crypto_xor'

GCM is y but AEAD is only m, yet GCM selects AEAD.  Perhaps a kbuild
bug?

Cheers,
-- 
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

[toc] | [next] | [standalone]


#1371278

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-04-05 09:20 +0200
Message-ID<rktrk-80E-11@gated-at.bofh.it>
In reply to#1370644
On Tue, Apr 05, 2016 at 07:15:21AM +0000, Li, Philip wrote:
> 
> 
> > -----Original Message-----
> > From: Herbert Xu [mailto:herbert@gondor.apana.org.au]
> > Sent: Monday, April 4, 2016 10:00 PM
> > To: Wu, Fengguang <fengguang.wu@intel.com>
> > Cc: Sabrina Dubroca <sd@queasysnail.net>; kbuild-all@01.org;
> > linux-kernel@vger.kernel.org; Hannes Frederic Sowa
> > <hannes@stressinduktion.org>; Linux Crypto Mailing List
> > <linux-crypto@vger.kernel.org>
> > Subject: Re: gcm.c:undefined reference to `crypto_aead_setauthsize'
> > 
> > On Fri, Apr 01, 2016 at 03:02:30PM +0000, kbuild test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > > head:   6ddf37da05cd71bf9e43349d607e810b43c9008a
> > > commit: c09440f7dcb304002dfced8c0fea289eb25f2da0 macsec: introduce
> > IEEE 802.1AE driver
> > > date:   3 weeks ago
> > > config: x86_64-randconfig-s3-04012139 (attached as .config)
> > > reproduce:
> > >         git checkout c09440f7dcb304002dfced8c0fea289eb25f2da0
> > >         # save the attached .config to linux build tree
> > >         make ARCH=x86_64
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > >    crypto/built-in.o: In function `gcm_enc_copy_hash':
> > > >> gcm.c:(.text+0x278): undefined reference to `crypto_xor'
> > 
> > GCM is y but AEAD is only m, yet GCM selects AEAD.  Perhaps a kbuild bug?
> Thanks Herbert, currently we use make randconfig to generate this kconfig file, is it possible this is still a valid settings?

Sorry I didn't mean kbuild as in your build system, but kbuild as in
the kernel kbuild subsystem.

AFAICS, the Kconfig rules should forbid the situation in your
config file where GCM=y but AEAD=m because GCM selects AEAD.  So
the fact that it happened either means that there is something
that I am missing or that the kbuild subsystem is buggy.

Cheers,
-- 
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

[toc] | [prev] | [next] | [standalone]


#1371280

From"Li, Philip" <philip.li@intel.com>
Date2016-04-05 09:20 +0200
Message-ID<rktrk-80E-13@gated-at.bofh.it>
In reply to#1370644

> -----Original Message-----
> From: Herbert Xu [mailto:herbert@gondor.apana.org.au]
> Sent: Monday, April 4, 2016 10:00 PM
> To: Wu, Fengguang <fengguang.wu@intel.com>
> Cc: Sabrina Dubroca <sd@queasysnail.net>; kbuild-all@01.org;
> linux-kernel@vger.kernel.org; Hannes Frederic Sowa
> <hannes@stressinduktion.org>; Linux Crypto Mailing List
> <linux-crypto@vger.kernel.org>
> Subject: Re: gcm.c:undefined reference to `crypto_aead_setauthsize'
> 
> On Fri, Apr 01, 2016 at 03:02:30PM +0000, kbuild test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> > head:   6ddf37da05cd71bf9e43349d607e810b43c9008a
> > commit: c09440f7dcb304002dfced8c0fea289eb25f2da0 macsec: introduce
> IEEE 802.1AE driver
> > date:   3 weeks ago
> > config: x86_64-randconfig-s3-04012139 (attached as .config)
> > reproduce:
> >         git checkout c09440f7dcb304002dfced8c0fea289eb25f2da0
> >         # save the attached .config to linux build tree
> >         make ARCH=x86_64
> >
> > All errors (new ones prefixed by >>):
> >
> >    crypto/built-in.o: In function `gcm_enc_copy_hash':
> > >> gcm.c:(.text+0x278): undefined reference to `crypto_xor'
> 
> GCM is y but AEAD is only m, yet GCM selects AEAD.  Perhaps a kbuild bug?
Thanks Herbert, currently we use make randconfig to generate this kconfig file, is it possible this is still a valid settings?

> 
> Cheers,
> --
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web