Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1507281 > unrolled thread
| Started by | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| First post | 2016-10-24 17:10 +0200 |
| Last post | 2016-10-25 12:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] x86: fix build with older gcc "Jan Beulich" <JBeulich@suse.com> - 2016-10-24 17:10 +0200
[tip:x86/urgent] x86/build: Fix build with older GCC versions tip-bot for Jan Beulich <tipbot@zytor.com> - 2016-10-25 12:40 +0200
| From | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| Date | 2016-10-24 17:10 +0200 |
| Subject | [PATCH] x86: fix build with older gcc |
| Message-ID | <svP2W-Pj-17@gated-at.bofh.it> |
Older gcc (observed with 4.1.x) doesn't support -Wno-override-init and also doesn't ignore unknown -Wno-* options. Fixes: 5e44258d16 "x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables" Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu> --- arch/x86/entry/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 4.9-rc2/arch/x86/entry/Makefile +++ 4.9-rc2-x86-entry-build/arch/x86/entry/Makefile @@ -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
[toc] | [next] | [standalone]
| From | tip-bot for Jan Beulich <tipbot@zytor.com> |
|---|---|
| Date | 2016-10-25 12:40 +0200 |
| Subject | [tip:x86/urgent] x86/build: Fix build with older GCC versions |
| Message-ID | <sw7jd-4nV-31@gated-at.bofh.it> |
| In reply to | #1507281 |
Commit-ID: a2209b742e6cf978b85d4f31a25a269c3d3b062b Gitweb: http://git.kernel.org/tip/a2209b742e6cf978b85d4f31a25a269c3d3b062b Author: Jan Beulich <JBeulich@suse.com> AuthorDate: Mon, 24 Oct 2016 09:00:12 -0600 Committer: Ingo Molnar <mingo@kernel.org> CommitDate: Tue, 25 Oct 2016 11:44:25 +0200 x86/build: Fix build with older GCC versions Older GCC (observed with 4.1.x) doesn't support -Wno-override-init and also doesn't ignore unknown -Wno-* options. Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu> Cc: Valdis.Kletnieks@vt.edu Fixes: 5e44258d16 "x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables" Link: http://lkml.kernel.org/r/580E3E1C02000078001191C4@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar <mingo@kernel.org> --- arch/x86/entry/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/entry/Makefile b/arch/x86/entry/Makefile index 77f28ce..9976fce 100644 --- a/arch/x86/entry/Makefile +++ b/arch/x86/entry/Makefile @@ -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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web