Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1514964
| From | Al Viro <viro@ZenIV.linux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] kbuild: add -fno-PIE |
| Date | 2016-11-04 02:10 +0100 |
| Message-ID | <szBb3-39R-9@gated-at.bofh.it> (permalink) |
| References | <sz7wl-Mi-3@gated-at.bofh.it> <sz7wl-Mi-21@gated-at.bofh.it> <szz9g-1Ga-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Nov 03, 2016 at 04:50:55PM -0600, Ben Hutchings wrote: > On Wed, 2016-11-02 at 18:20 +0100, Sebastian Andrzej Siewior wrote: > > 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 > [...] > > Unfortunately this isn't sufficient: > > Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong available but compiler is broken > /build/linux-4.9~rc3/Makefile:1069: recipe for target 'prepare-compiler-check' failed > make[5]: *** [prepare-compiler-check] Error 1 > > scripts/gcc-x86_64-has-stack-protector.sh has its own list of options > which will need to include -fno-PIE. That shit should be fixed in debian; no amount of kbuild changes will help on bisect going back to a state prior to those. IOW, no matter what we do kernel-side, that fuckup by doku, balint, et.al. needs to be fixed in debian gcc package. Al, seriously disappointed by that mess - debian gcc packagers are generally clued enough to have known better. Reassigning bug reports in question from gcc-6 to linux is beyond stupid; Balint is either being deliberately obtuse, or geniunely unable to imagine that somebody might be using the compiler _not_ for debian package builds.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-02 18:30 +0100
[PATCH 2/2] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-02 18:30 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Ben Hutchings <ben@decadent.org.uk> - 2016-11-04 00:00 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Al Viro <viro@ZenIV.linux.org.uk> - 2016-11-04 02:10 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-11-04 12:40 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-04 15:30 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Markus Trippelsdorf <markus@trippelsdorf.de> - 2016-11-04 15:40 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-11-04 16:00 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-11-04 15:50 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Al Viro <viro@ZenIV.linux.org.uk> - 2016-11-04 16:20 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Christoph Hellwig <hch@infradead.org> - 2016-11-04 16:30 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Al Viro <viro@ZenIV.linux.org.uk> - 2016-11-04 17:00 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-04 17:00 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Al Viro <viro@ZenIV.linux.org.uk> - 2016-11-04 17:20 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-04 17:20 +0100
Re: [PATCH 2/2] kbuild: add -fno-PIE Adam Borowski <kilobyte@angband.pl> - 2016-11-04 17:30 +0100
Re: [PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils Sven Joachim <svenjoac@gmx.de> - 2016-11-02 20:00 +0100
Re: [PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils Borislav Petkov <bp@alien8.de> - 2016-11-02 21:00 +0100
csiph-web