[PATCH] ARM: makefile: work around toolchain bug in recent versions of binutils
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Aug 2 09:04:11 EDT 2012
On Thu, Aug 02, 2012 at 01:23:26PM +0100, Will Deacon wrote:
> Recent upstream versions of binutils fail to assembler compressed/head.S
> when passed the -march=all option:
>
> http://lists.gnu.org/archive/html/bug-binutils/2011-04/msg00162.html
>
> The recommended workaround from the tools folks is not to pass the
> option, and instead let the assembler deduce the CPU type based on the
> features used by the code.
That doesn't work for all binutils - binutils historically has had to be
told explicitly what architecture its building for and won't "deduce"
it from the code.
Maybe this needs to be a build-time test whether the assembler accepts it?
More information about the linux-arm-kernel
mailing list