Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1510113
| From | Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH] kbuild: add -fno-PIE |
| Date | 2016-10-27 09:30 +0200 |
| Message-ID | <swNip-7bf-5@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <svI1s-4up-13@gated-at.bofh.it> <svIb7-4yd-7@gated-at.bofh.it> <svRo6-2jl-33@gated-at.bofh.it> <sw4uZ-2vP-15@gated-at.bofh.it> <swAEx-73J-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Andrew, On 2016-10-26 19:51:03 [+0200], Sven Joachim wrote: > On 2016-10-25 09:30 +0200, Sebastian Andrzej Siewior wrote: > > > On 2016-10-24 19:32:30 [+0200], Sven Joachim wrote: > >> On 2016-10-24 09:43 +0200, Sebastian Andrzej Siewior wrote: > >> > >> > On 2016-10-24 09:38:49 [+0200], Sven Joachim wrote: > >> >> > >> >> But make still fails with it. :-( > >> > > >> > try setting CONFIG_CC_STACKPROTECTOR_NONE=y and please let me know if > >> > the resulting kernel built with v3.2 gcc boots & works. > >> > >> Sorry, I don't have gcc 3.2 around, and my gcc 3.3 environment produces > >> assembler errors in arch/x86/entry/entry_32.S. Maybe binutils 2.15 is > >> not recent enough anymore? > > I have done a few more tests, and I can confirm that binutils 2.17 is > the oldest version that works. Also, I have succeeded installing gcc > 3.2 in a Debian 4.0 chroot now. > > > so we use stone age gcc but take latest binutils and kernel? What about > > lifting the limit of gcc 3.2? > > Would probably make sense, since gcc 3.2 cannot compile kernel/bounds.c, > at least not on x86. > > ,---- > | CC kernel/bounds.s > | In file included from /tmp/linux/arch/x86/include/asm/bitops.h:512, > | from include/linux/bitops.h:22, > | from include/linux/kernel.h:10, > | from include/asm-generic/bug.h:13, > | from /tmp/linux/arch/x86/include/asm/bug.h:38, > | from include/linux/bug.h:4, > | from include/linux/page-flags.h:9, > | from kernel/bounds.c:9: > | /tmp/linux/arch/x86/include/asm/arch_hweight.h: In function `__arch_hweight32': > | /tmp/linux/arch/x86/include/asm/arch_hweight.h:29: syntax error before string constant > | make[1]: *** [kernel/bounds.s] Error 1 > `---- > > Building with gcc 3.3 is apparently still possible, although it produces > tons of warnings and a modpost section mismatch. Still, requiring gcc > 4.1 or newer would not be unreasonable, I think (still released a few > months earlier than binutils 2.17). I remember you had once a server box running some enterprise distro which had an old gcc. Do you see any reason for not lifting the minimum gcc version to v4.1 ? > Cheers, > Sven Sebastian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-21 13:20 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Adam Borowski <kilobyte@angband.pl> - 2016-10-21 23:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-23 18:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Joe Perches <joe@perches.com> - 2016-10-23 21:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-24 09:40 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-24 09:50 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-24 19:40 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Joe Perches <joe@perches.com> - 2016-10-24 19:50 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-25 09:40 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-26 20:00 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-27 09:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Andrew Morton <akpm@linux-foundation.org> - 2016-10-29 01:10 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Tomas Janousek <tomi@nomi.cz> - 2016-10-29 12:20 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-29 19:10 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Tomas Janousek <tomi@nomi.cz> - 2016-10-29 21:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sven Joachim <svenjoac@gmx.de> - 2016-10-29 23:30 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Joe Perches <joe@perches.com> - 2016-10-24 12:00 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Shuah Khan <shuahkhan@gmail.com> - 2016-10-27 19:10 +0200
Re: [RFC PATCH] kbuild: add -fno-PIE Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-28 10:10 +0200
csiph-web