From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org,
linux-rt-users <linux-rt-users@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Carsten Emde <C.Emde@osadl.org>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
John Kacur <jkacur@redhat.com>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH RT 2/3] kbuild: add -fno-PIE
Date: Sun, 30 Oct 2016 12:48:31 -0400 [thread overview]
Message-ID: <20161030164840.942789645@goodmis.org> (raw)
In-Reply-To: 20161030164829.552034185@goodmis.org
[-- Attachment #1: 0002-kbuild-add-fno-PIE.patch --]
[-- Type: text/plain, Size: 986 bytes --]
3.12.66-rt89-rc1 stable review patch.
If anyone has any objections, please let me know.
------------------
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
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
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index eb81ece69d00..c8ce2ba51358 100644
--- a/Makefile
+++ b/Makefile
@@ -376,7 +376,7 @@ 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 \
-fno-delete-null-pointer-checks \
-std=gnu89
--
2.9.3
next prev parent reply other threads:[~2016-10-30 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 16:48 [PATCH RT 0/3] Linux 3.12.66-rt89-rc1 Steven Rostedt
2016-10-30 16:48 ` [PATCH RT 1/3] ftrace: Fix trace header alignment Steven Rostedt
2016-10-30 16:48 ` Steven Rostedt [this message]
2016-10-30 16:48 ` [PATCH RT 3/3] Linux 3.12.66-rt89-rc1 Steven Rostedt
-- strict thread matches above, loose matches on Subject: below --
2016-10-30 16:49 [PATCH RT 0/3] Linux 3.10.104-rt117-rc1 Steven Rostedt
2016-10-30 16:49 ` [PATCH RT 2/3] kbuild: add -fno-PIE Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161030164840.942789645@goodmis.org \
--to=rostedt@goodmis.org \
--cc=C.Emde@osadl.org \
--cc=bigeasy@linutronix.de \
--cc=jkacur@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox