Bug 17852
Summary: | Build: detection for working -fstack-protector wrongly says "stack protector enabled but no compiler support" if using hardened gcc due to use of -mcmodel=kernel without -D__KERNEL__ | ||
---|---|---|---|
Product: | Other | Reporter: | bugs-kernel (bugs-kernel.8eaf7cd8e5128d8191fe) |
Component: | Other | Assignee: | other_other |
Status: | RESOLVED CODE_FIX | ||
Severity: | low | CC: | blueness |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=312335 | ||
Kernel Version: | v2.6.35.4 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Patch by Magnus Granberg to add KBUILD_CPPFLAGS to the SSP test so that it does not build with -fPIE |
Description
bugs-kernel@spamgourmet.com
2010-09-05 18:30:15 UTC
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Sun, 5 Sep 2010 18:30:20 GMT bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=17852 > > URL: https://bugs.gentoo.org/show_bug.cgi?id=312335 > Summary: Build: detection for working -fstack-protector wrongly > says "stack protector enabled but no compiler support" > if using hardened gcc due to use of -mcmodel=kernel > without -D__KERNEL__ Send us a patch. Suitable recipients are Ingo Molnar <mingo@elte.hu> Thomas Gleixner <tglx@linutronix.de> "H. Peter Anvin" <hpa@zytor.com> linux-kernel@vger.kernel.org Andrew Morton <akpm@linux-foundation.org> Created attachment 29552 [details] Patch by Magnus Granberg to add KBUILD_CPPFLAGS to the SSP test so that it does not build with -fPIE > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). Unfortunately, I cannot do that. I never received an e-mail for this because I am not subscribed to e-mail notifications, and spamgourmet would eat them even if I was subscribed. > Send us a patch. The patch from Magnus Granberg is attached. (In reply to comment #1) > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Sun, 5 Sep 2010 18:30:20 GMT > bugzilla-daemon@bugzilla.kernel.org wrote: > > > https://bugzilla.kernel.org/show_bug.cgi?id=17852 > > > > URL: https://bugs.gentoo.org/show_bug.cgi?id=312335 > > Summary: Build: detection for working -fstack-protector wrongly > > says "stack protector enabled but no compiler support" > > if using hardened gcc due to use of -mcmodel=kernel > > without -D__KERNEL__ > > Send us a patch. Suitable recipients are > > Ingo Molnar <mingo@elte.hu> > Thomas Gleixner <tglx@linutronix.de> > "H. Peter Anvin" <hpa@zytor.com> > linux-kernel@vger.kernel.org > Andrew Morton <akpm@linux-foundation.org> I did email in the patch to the above about a month ago and it never made it through. I will try again. The fix was accepted by hpa as 08c2b394b98786ebb067e2a54d08f1f6f0d247da and appeared in mainline as part of v2.6.36-rc4. |