Date: Fri, 27 Jan 2017 16:52:54 +1100 From: Andrew Donnellan <andrew.donnellan@....ibm.com> To: pageexec@...email.hu, Kees Cook <keescook@...omium.org> Cc: "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>, "kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com>, Emese Revfy <re.emese@...il.com>, LKML <linux-kernel@...r.kernel.org>, linux-kbuild <linux-kbuild@...r.kernel.org>, Brad Spengler <spender@...ecurity.net>, Michal Marek <mmarek@...e.com> Subject: Re: [PATCH 3/3] powerpc: enable support for GCC plugins On 09/12/16 21:59, PaX Team wrote: >>>> the specific problem addressed here can (and IMHO should) be solved in >>>> another way: remove the inclusion of the offending headers in gcc-common.h >>>> as neither tm.h nor c-common.h are needed by existing plugins. for background, >> >> We can't build without tm.h: http://pastebin.com/W0azfCr0 > > you'll need to repeat the removal of dependent headers. based on a quick > test here across gcc 4.5-6.2, if you remove rtl.h, tm_p.h, hard-reg-set.h > and emit-rtl.h in addition to tm.h, the plugins should build fine. OK, I finally have a chance to look at this series again. basic-block.h includes tm.h, and I don't believe we can remove that. I'm not convinced there's a way around this. -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnellan@....ibm.com IBM Australia Limited
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.