Remove the crypto march extension added by commit 6e6cc1dc3548
("config/arm: support crypto with Cortex-A78AE"). The extension
was added under the incorrect assumption that missing crypto ISA
caused an infinite loop, the actual cause was a GCC scheduling
issue with -mcpu=cortex-a78ae. This was avoided by switching to
-march=armv8.4-a in the same commit.

The extension is unnecessary and causes build failures on
toolchains without AES support. The -march=armv8.4-a build
without -mcpu is intentionally kept to avoid the scheduling issue.

Fixes: 6e6cc1dc3548 ("config/arm: support crypto with Cortex-A78AE")
Cc: [email protected]

Signed-off-by: Shani Peretz <[email protected]>
---
 config/arm/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 523b0fc0ed..5a9c16b9b1 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -706,7 +706,6 @@ mcpu_defs = {
     },
     'mcpu_cortex-a78ae': {
         'march': 'armv8.4-a',
-        'march_extensions': ['crypto']
     },
     'mcpu_ft2000plus': {
         'march': 'armv8-a',
-- 
2.34.1

Reply via email to