Thread (3 messages) flat view 3 messages, 2 authors, 2021-07-05

Regression: commit 987fdfec2410 causes build to incorrectly issue warning

From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: 2021-07-02 13:14:49

Hi,

Commit 987fdfec2410 ("arm64: move --fix-cortex-a53-843419 linker test to
Kconfig") breaks the ability to detect linker support for this option.
Building 5.13 for aarch64 with Debian binutils 2.31.1 results in:

.../arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum

This is because ARM64_LD_HAS_FIX_ERRATUM_843419 is not set in the
Kconfig, indicating that the Kconfig test for linker support for
--fix-cortex-a53-843419 has failed, yet this version of binutils does
support this option:

$ aarch64-linux-gnu-ld --help | grep -e --fix-cortex-a53-843419 | wc -l
8

Reverting this commit fixes the problem for me.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help