Patch "x86/build: Fix build with older GCC versions" has been added to the 4.8-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
x86/build: Fix build with older GCC versions
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
x86-build-fix-build-with-older-gcc-versions.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
a2209b742e6cf978b85d4f31a25a269c3d3b062bMon Sep 17 00:00:00 2001
From: Jan Beulich <[email protected]>
Date: Mon, 24 Oct 2016 09:00:12 -0600
Subject: x86/build: Fix build with older GCC versions
From: Jan Beulich <[email protected]>
commit a2209b742e6cf978b85d4f31a25a269c3d3b062b upstream.
Older GCC (observed with 4.1.x) doesn't support -Wno-override-init and also doesn't ignore unknown -Wno-* options.
--- arch/x86/entry/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/entry/Makefile +2 -2
@@ -5,8 +5,8 @@ OBJECT_FILES_NON_STANDARD_entry_$(BITS).o := y OBJECT_FILES_NON_STANDARD_entry_64_compat.o := y -CFLAGS_syscall_64.o += -Wno-override-init -CFLAGS_syscall_32.o += -Wno-override-init +CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,) +CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,) obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o obj-y += common.o
Patches currently in stable-queue which might be from [email protected] are
queue-4.8/x86-build-fix-build-with-older-gcc-versions.patch