Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567911

Re: [PATCH 3/3] powerpc: enable support for GCC plugins

From Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] powerpc: enable support for GCC plugins
Date 2017-01-27 08:10 +0100
Message-ID <t47JL-fR-3@gated-at.bofh.it> (permalink)
References <sLhqh-6OF-7@gated-at.bofh.it> <sMbiO-UR-23@gated-at.bofh.it> <sMjq2-5Sr-17@gated-at.bofh.it> <sMrdT-2wK-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@au1.ibm.com  IBM Australia Limited

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] powerpc: enable support for GCC plugins Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2017-01-27 08:10 +0100

csiph-web