lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri,  3 Nov 2017 10:11:56 -0700
From:   Sami Tolvanen <>
Cc:     Greg Hackmann <>,
        Kees Cook <>,
        Matthias Kaehlcke <>,
        Nick Desaulniers <>,
        Sami Tolvanen <>
Subject: [PATCH 11/15] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold

Some versions of GNU gold are known to produce broken code with
--fix-cortex-a53-843419 as explained in this bug:

If ARM64_ERRATUM_843419 is disabled and we're using GNU gold, pass
--no-fix-cortex-a53-843419 to the linker to ensure the erratum fix is not
used even if the linker is configured to enable it by default.

Signed-off-by: Sami Tolvanen <>
 arch/arm64/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index c16bd1ab37f8..0c1fb297c98e 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -26,6 +26,11 @@ LDFLAGS_vmlinux	+= --fix-cortex-a53-843419
+ifeq ($(CONFIG_ARM64_ERRATUM_843419),)
+LDFLAGS_GOLD	+= --no-fix-cortex-a53-843419
 KBUILD_DEFCONFIG := defconfig
 # Check for binutils support for specific extensions

Powered by blists - more mailing lists