From 887c46224747406db42af27725c635be463639e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 15 Feb 2020 23:41:56 +0100 Subject: [PATCH] linux4.4: fix build w/ binutils-2.34 --- srcpkgs/linux4.4/patches/ia32-sysexit.patch | 14 ++++++++++++++ srcpkgs/linux4.4/template | 3 --- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/linux4.4/patches/ia32-sysexit.patch diff --git a/srcpkgs/linux4.4/patches/ia32-sysexit.patch b/srcpkgs/linux4.4/patches/ia32-sysexit.patch new file mode 100644 index 00000000000..a76827606af --- /dev/null +++ b/srcpkgs/linux4.4/patches/ia32-sysexit.patch @@ -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 diff --git a/srcpkgs/linux4.4/template b/srcpkgs/linux4.4/template index 1a9b784d066..81a1ff27d5a 100644 --- a/srcpkgs/linux4.4/template +++ b/srcpkgs/linux4.4/template @@ -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"