linux4.4: fix build w/ binutils-2.34

This commit is contained in:
Jürgen Buchmüller 2020-02-15 23:41:56 +01:00
parent e82f8d41fa
commit 887c462247
2 changed files with 14 additions and 3 deletions

View file

@ -0,0 +1,14 @@
Source: @pullmoll
Upstream: no
Reason: work around a bug in binutils 2.34 w/ the sysexit instruction
--- arch/x86/kernel/Makefile 2020-02-05 14:03:47.000000000 +0100
+++ arch/x86/kernel/Makefile 2020-02-15 23:07:43.816785356 +0100
@@ -21,6 +21,7 @@
KASAN_SANITIZE_dumpstack_$(BITS).o := n
CFLAGS_irq.o := -I$(src)/../include/asm/trace
+CFLAGS_paravirt_patch_64.o := -Wa,-mintel64
obj-y := process_$(BITS).o signal.o
obj-$(CONFIG_COMPAT) += signal_compat.o

View file

@ -16,9 +16,6 @@ nostrip=yes
noverifyrdeps=yes
noshlibprovides=yes
preserve=yes
broken="https://build.voidlinux.org/builders/x86_64_builder/builds/22922/steps/shell_3/logs/stdio"
export CCACHE_DISABLE=1
archs="i686* x86_64* armv7l* aarch64*"
hostmakedepends="bc perl kmod uboot-mkimage libressl-devel"