[PATCH v2 09/18] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold
From: mark.rutland@arm.com (Mark Rutland)
Date: 2017-11-20 14:47:27
Also in:
linux-kbuild, lkml
From: mark.rutland@arm.com (Mark Rutland)
Date: 2017-11-20 14:47:27
Also in:
linux-kbuild, lkml
On Thu, Nov 16, 2017 at 08:35:49AM -0800, Sami Tolvanen wrote:
On Thu, Nov 16, 2017 at 11:47:23AM +0000, Will Deacon wrote:quoted
But if ARM64_ERRATUM_843419 is enabled, we'll go ahead and generate broken code?This bug has been fixed in all current versions of GNU gold, but of course, if someone is using a broken linker, it will generate broken code. We can't do anything about that in the kernel.
However, we could instead check ld-version, produce a warning, and abort the build in such cases. Which would be better than silently producing a kernel that won't work correctly. Thanks, Mark.