diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-12-01 12:16:27 +0100 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-12-01 12:16:27 +0100 |
commit | 38c2f12d14909ce82aeecd63883d2052b3a3a608 (patch) | |
tree | 84d1f91b864827a8ec9c8a3ac20844e03750c3ca | |
parent | d2c367e680dfca620a985c6b63e4ac4f67c96a2a (diff) | |
download | linux-rt-4.8.11-rt6-patches.tar.gz |
[ANNOUNCE] v4.8.11-rt6v4.8.11-rt6-patches
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-rw-r--r-- | patches/kbuild-add-fno-PIE.patch | 36 | ||||
-rw-r--r-- | patches/localversion.patch | 2 | ||||
-rw-r--r-- | patches/series | 1 |
3 files changed, 1 insertions, 38 deletions
diff --git a/patches/kbuild-add-fno-PIE.patch b/patches/kbuild-add-fno-PIE.patch deleted file mode 100644 index f6364adc2890..000000000000 --- a/patches/kbuild-add-fno-PIE.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 5f490bfc33f69f490c6c7a90889287e84f1556c0 Mon Sep 17 00:00:00 2001 -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Fri, 21 Oct 2016 12:21:07 +0200 -Subject: [PATCH] kbuild: add -fno-PIE - -Debian started to build the gcc with -fPIE by default so the kernel -build ends before it starts properly with: -|kernel/bounds.c:1:0: error: code model kernel does not support PIC mode - -Also add to KBUILD_AFLAGSi due to: - -|gcc -Wp,-MD,arch/x86/entry/vdso/vdso32/.note.o.d … -mfentry -DCC_USING_FENTRY … vdso/vdso32/note.S -|arch/x86/entry/vdso/vdso32/note.S:1:0: sorry, unimplemented: -mfentry isn’t supported for 32-bit in c ombination with -fpic - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/Makefile -+++ b/Makefile -@@ -398,12 +398,12 @@ KBUILD_CPPFLAGS := -D__KERNEL__ - KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ - -fno-strict-aliasing -fno-common \ - -Werror-implicit-function-declaration \ -- -Wno-format-security \ -+ -Wno-format-security -fno-PIE \ - -std=gnu89 - - KBUILD_AFLAGS_KERNEL := - KBUILD_CFLAGS_KERNEL := --KBUILD_AFLAGS := -D__ASSEMBLY__ -+KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE - KBUILD_AFLAGS_MODULE := -DMODULE - KBUILD_CFLAGS_MODULE := -DMODULE - KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds diff --git a/patches/localversion.patch b/patches/localversion.patch index 72cdd2b3c760..4c1841b6475d 100644 --- a/patches/localversion.patch +++ b/patches/localversion.patch @@ -10,4 +10,4 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- /dev/null +++ b/localversion-rt @@ -0,0 +1 @@ -+-rt5 ++-rt6 diff --git a/patches/series b/patches/series index e3e7939aa1ce..70680082ca41 100644 --- a/patches/series +++ b/patches/series @@ -37,7 +37,6 @@ iommu-vt-d-don-t-disable-preemption-while-accessing-.patch lockdep-Quiet-gcc-about-dangerous-__builtin_return_a.patch x86-apic-get-rid-of-warning-acpi_ioapic_lock-defined.patch rxrpc-remove-unused-static-variables.patch -kbuild-add-fno-PIE.patch # Wants a different fix for upstream NFSv4-replace-seqcount_t-with-a-seqlock_t.patch |