linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher)
@ 2017-01-14 14:24 Krzysztof Kozlowski
  2017-01-14 15:21 ` Ard Biesheuvel
  2017-01-14 18:20 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2017-01-14 14:24 UTC (permalink / raw)
  To: Herbert Xu, Ard Biesheuvel
  Cc: linux-crypto, linux-kernel, linux-arm-kernel, davem, linux-next

Hi,

allyesconfig and multi_v7_defconfig fail to build on recent linux-next
on GCC 6.2.0.

Errors:
../arch/arm/crypto/aes-cipher-core.S: Assembler messages:
../arch/arm/crypto/aes-cipher-core.S:21: Error: selected processor does not support `tt .req ip' in ARM mode
../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movw tt,#:lower16:crypto_ft_tab'
../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movt tt,#:upper16:crypto_ft_tab'

Compiler: arm-linux-gnueabi-gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005

Git bisect pointed to:
first bad commit: [81edb42629758bacdf813dd5e4542ae26e3ad73a] crypto: arm/aes - replace scalar AES cipher

Best regards,
Krzysztof

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

* Re: [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher)
  2017-01-14 14:24 [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher) Krzysztof Kozlowski
@ 2017-01-14 15:21 ` Ard Biesheuvel
  2017-01-14 18:20 ` Russell King - ARM Linux
  1 sibling, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2017-01-14 15:21 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Herbert Xu, linux-crypto, linux-kernel, linux-arm-kernel,
	David S. Miller, linux-next

On 14 January 2017 at 14:24, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> Hi,
>
> allyesconfig and multi_v7_defconfig fail to build on recent linux-next
> on GCC 6.2.0.
>
> Errors:
> ../arch/arm/crypto/aes-cipher-core.S: Assembler messages:
> ../arch/arm/crypto/aes-cipher-core.S:21: Error: selected processor does not support `tt .req ip' in ARM mode
> ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movw tt,#:lower16:crypto_ft_tab'
> ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movt tt,#:upper16:crypto_ft_tab'
>
> Compiler: arm-linux-gnueabi-gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
>
> Git bisect pointed to:
> first bad commit: [81edb42629758bacdf813dd5e4542ae26e3ad73a] crypto: arm/aes - replace scalar AES cipher
>

Fixed in

https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=658fa754cd07

which should turn up in the next -next

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

* Re: [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher)
  2017-01-14 14:24 [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher) Krzysztof Kozlowski
  2017-01-14 15:21 ` Ard Biesheuvel
@ 2017-01-14 18:20 ` Russell King - ARM Linux
  2017-01-14 18:52   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2017-01-14 18:20 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Herbert Xu, Ard Biesheuvel, linux-next, davem, linux-crypto,
	linux-arm-kernel, linux-kernel

On Sat, Jan 14, 2017 at 04:24:35PM +0200, Krzysztof Kozlowski wrote:
> Hi,
> 
> allyesconfig and multi_v7_defconfig fail to build on recent linux-next
> on GCC 6.2.0.
> 
> Errors:
> ../arch/arm/crypto/aes-cipher-core.S: Assembler messages:
> ../arch/arm/crypto/aes-cipher-core.S:21: Error: selected processor does not support `tt .req ip' in ARM mode
> ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movw tt,#:lower16:crypto_ft_tab'
> ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movt tt,#:upper16:crypto_ft_tab'
> 
> Compiler: arm-linux-gnueabi-gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005

It's worth pointing out that _assembler_ messages come from _binutils_
rather than _gcc_.   Please advise which version of _binutils_ you
are using.  Thanks.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

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

* Re: [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher)
  2017-01-14 18:20 ` Russell King - ARM Linux
@ 2017-01-14 18:52   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2017-01-14 18:52 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Krzysztof Kozlowski, Herbert Xu, Ard Biesheuvel, linux-next,
	davem, linux-crypto, linux-arm-kernel, linux-kernel

On Sat, Jan 14, 2017 at 06:20:12PM +0000, Russell King - ARM Linux wrote:
> On Sat, Jan 14, 2017 at 04:24:35PM +0200, Krzysztof Kozlowski wrote:
> > Hi,
> > 
> > allyesconfig and multi_v7_defconfig fail to build on recent linux-next
> > on GCC 6.2.0.
> > 
> > Errors:
> > ../arch/arm/crypto/aes-cipher-core.S: Assembler messages:
> > ../arch/arm/crypto/aes-cipher-core.S:21: Error: selected processor does not support `tt .req ip' in ARM mode
> > ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movw tt,#:lower16:crypto_ft_tab'
> > ../arch/arm/crypto/aes-cipher-core.S:174: Error: ARM register expected -- `movt tt,#:upper16:crypto_ft_tab'
> > 
> > Compiler: arm-linux-gnueabi-gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
> 
> It's worth pointing out that _assembler_ messages come from _binutils_
> rather than _gcc_.   Please advise which version of _binutils_ you
> are using.  Thanks.

Ah, yes, so the binutils 2.27 (Ubuntu package: 2.27-8ubuntu2).

However Ard mentioned that this is already fixed.

Best regards,
Krzysztof

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

end of thread, other threads:[~2017-01-14 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-14 14:24 [BISECT] ARM build errors on GCC v6.2 (crypto: arm/aes - replace scalar AES cipher) Krzysztof Kozlowski
2017-01-14 15:21 ` Ard Biesheuvel
2017-01-14 18:20 ` Russell King - ARM Linux
2017-01-14 18:52   ` Krzysztof Kozlowski

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).