Re: [PATCH] ARM: drop cc-option fallbacks for architecture selection

From: Klaus Kudielka
Date: Wed Nov 03 2021 - 16:27:49 EST


On 18.10.21 16:07, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

Naresh and Antonio ran into a build failure with latest Debian
armhf compilers, with lots of output like

tmp/ccY3nOAs.s:2215: Error: selected processor does not support `cpsid i' in ARM mode
I just had exactly the same problem, and this patch fixes it for me as well.
Compile- and run-tested with gcc-11 (Debian 11.2.0-10) armhf & Linux 5.15.0

Tested-by: Klaus Kudielka <klaus.kudielka@xxxxxxxxx>