Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1404315
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure |
| Date | 2016-05-20 12:20 +0200 |
| Message-ID | <rAPHc-4eE-15@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <dPRfH-6M3-5@gated-at.bofh.it> <rA6TN-Pd-53@gated-at.bofh.it> <dPRfH-6M3-5@gated-at.bofh.it> <rApD3-4yo-1@gated-at.bofh.it> <rArOx-5P2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2016-05-19 at 10:24 +0200, PaX Team wrote: > On 19 May 2016 at 16:22, Michael Ellerman wrote: > > On Wed, 2016-05-18 at 12:33 +0200, Emese Revfy wrote: > > > Did you test the plugins with all gcc versions (4.5-6)? > > > > What's the concern about gcc versions? Just not breaking the build on old > > compilers? > > the earlier plugin capable gcc versions used to install gcc headers in a somewhat > ad-hoc manner resulting in compile time breakage for plugins and since some of > those potentially missing headers are target specific, each target arch should > be verified before enabling plugin support on them. things have much improved with > gcc 5 (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61176) though there's still > an occasional missing header but with wider use of plugins they will hopefully be > discovered earlier now. OK thanks. > perhaps linux-arch should be cc'ed on the plugin infrastructure > so that arch maintainers are aware of this? linux-arch is still fairly high traffic, so it's no guarantee arch maintainers will see it, but it's probably worth a try. > > I'm pretty sure powerpc big endian still builds with gcc 4.4. > > > > However if Andrew's only tested on little endian, then that select should be > > guarded with an "if CPU_LITTLE_ENDIAN". And to build LE you need gcc >= 4.9. > > i guess that's part of the target tuple so in general arch maintainers should test > the target tuples used on their arch with all the supported gcc versions (speaking > of CC, not HOSTCC/HOSTCXX). Yeah. I think we'll probably enable it gradually as folks get time to test it. ie. ppc64le first, then ppc64 (BE), and then 32-bit if someone is interested. cheers
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v8 0/4] Introduce GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-05-13 01:50 +0200
[PATCH v8 4/4] Add sancov plugin Emese Revfy <re.emese@gmail.com> - 2016-05-13 02:00 +0200
[PATCH v8 3/4] Add Cyclomatic complexity GCC plugin Emese Revfy <re.emese@gmail.com> - 2016-05-13 02:00 +0200
Re: [kernel-hardening] [PATCH v8 3/4] Add Cyclomatic complexity GCC plugin Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-05-18 10:30 +0200
Re: [kernel-hardening] [PATCH v8 3/4] Add Cyclomatic complexity GCC plugin Emese Revfy <re.emese@gmail.com> - 2016-05-18 12:50 +0200
Re: [PATCH v8 2/4] GCC plugin infrastructure Michal Marek <mmarek@suse.com> - 2016-05-17 16:30 +0200
Re: [PATCH v8 2/4] GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-05-18 12:50 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-05-18 11:00 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-05-18 12:30 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-05-18 23:20 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Michael Ellerman <mpe@ellerman.id.au> - 2016-05-19 08:30 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-05-19 08:50 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure "PaX Team" <pageexec@freemail.hu> - 2016-05-19 10:50 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-05-20 08:30 +0200
Re: [kernel-hardening] [PATCH v8 2/4] GCC plugin infrastructure Michael Ellerman <mpe@ellerman.id.au> - 2016-05-20 12:20 +0200
csiph-web