[Bug plugins/59335] Plugin doesn't build on trunk

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Andrew Pinski  changed:

   What|Removed |Added

 CC||sje at cup dot hp.com

--- Comment #31 from Andrew Pinski  ---
*** Bug 45346 has been marked as a duplicate of this bug. ***

[Bug plugins/59335] Plugin doesn't build on trunk

2014-09-05 Thread jye2 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #29 from jye2 at gcc dot gnu.org ---
Author: jye2
Date: Fri Sep  5 06:52:17 2014
New Revision: 214938

URL: https://gcc.gnu.org/viewcvs?rev=214938root=gccview=rev
Log:
2014-09-05  Joey Ye  joey...@arm.com

PR plugin/59335
* Makefile.in (PLUGIN_HEADERS): Add wide-int.h, signop.h, hash-map.h,

Modified:
trunk/gcc/Makefile.in


[Bug plugins/59335] Plugin doesn't build on trunk

2014-09-05 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Joey Ye joey.ye at arm dot com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #30 from Joey Ye joey.ye at arm dot com ---
Fixed in 214938


[Bug plugins/59335] Plugin doesn't build on trunk

2014-08-24 Thread terry.guo at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Terry Guo terry.guo at arm dot com changed:

   What|Removed |Added

 CC||terry.guo at arm dot com

--- Comment #27 from Terry Guo terry.guo at arm dot com ---
It seems we have one more file missed when build plugin with latest trunk:

install-native/lib/gcc/arm-none-eabi/5.0.0/plugin/include/tree-core.h:24:22:
fatal error: hash-set.h: No such file or directory.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-08-24 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Joey Ye joey.ye at arm dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #28 from Joey Ye joey.ye at arm dot com ---
Reopened as a new missing header is reported


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #24 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Tue Apr 15 08:02:46 2014
New Revision: 209404

URL: http://gcc.gnu.org/viewcvs?rev=209404root=gccview=rev
Log:
PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add various headers that have been
added in 4.9.

* Make-lang.h (CP_PLUGIN_HEADERS): Add type-utils.h.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/Make-lang.in


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #25 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Tue Apr 15 08:04:17 2014
New Revision: 209405

URL: http://gcc.gnu.org/viewcvs?rev=209405root=gccview=rev
Log:
PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add various headers that have been
added in 4.9.

* Make-lang.h (CP_PLUGIN_HEADERS): Add type-utils.h.

Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/Makefile.in
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/Make-lang.in


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #26 from Jakub Jelinek jakub at gcc dot gnu.org ---
Fixed.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #20 from Jakub Jelinek jakub at gcc dot gnu.org ---
So, comparing the headers we have in gcc/{,c/,cp/,c-family/}*.h with what we
install shows:
for i in *.h {c,cp,c-family}/*.h; do [ -f
/tmp/foobar/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.10.0/plugin/include/$i
] || echo $i; done
addresses.h
asan.h
attribs.h
bb-reorder.h
builtins.h
calls.h
cfgexpand.h
cilk.h
collect2-aix.h
collect2.h
conditions.h
convert.h
coverage.h
cppbuiltin.h
cselib.h
data-streamer.h
dbgcnt.h
dbxout.h
dce.h
ddg.h
dfp.h
diagnostic-color.h
domwalk.h
dwarf2asm.h
dwarf2out.h
errors.h
et-forest.h
expmed.h
expr.h
file-find.h
gcc.h
gcc-symtab.h
gcov-io.h
gcse.h
gengtype.h
gensupport.h
ggc-internal.h
gimple-builder.h
gimple-low.h
gimple-streamer.h
gimple-walk.h
gimplify-me.h
glimits.h
graphds.h
graph.h
graphite-clast-to-gimple.h
graphite-htab.h
graphite-poly.h
graphite-scop-detection.h
graphite-sese-to-poly.h
gstab.h
gsyms.h
gsyslimits.h
hooks.h
hosthooks-def.h
hosthooks.h
hw-doloop.h
insn-addr.h
ipa-inline.h
ira.h
ira-int.h
langhooks-def.h
libfuncs.h
limitx.h
limity.h
lower-subreg.h
lra.h
lra-int.h
lto-compress.h
lto-streamer.h
omega.h
omp-low.h
optabs.h
opts-diagnostic.h
pass_manager.h
print-rtl.h
profile.h
read-md.h
recog.h
regrename.h
regs.h
reload.h
rtl-error.h
rtlhooks-def.h
sched-int.h
sdbout.h
sel-sched-dump.h
sel-sched.h
sel-sched-ir.h
sese.h
sparseset.h
sreal.h
stmt.h
streamer-hooks.h
target-def.h
target-globals.h
targhooks.h
trans-mem.h
tree-affine.h
tree-chrec.h
tree-data-ref.h
tree-dfa.h
tree-diagnostic.h
tree-hasher.h
tree-nested.h
tree-object-size.h
tree-outof-ssa.h
tree-parloops.h
tree-scalar-evolution.h
tree-ssa-address.h
tree-ssa-coalesce.h
tree-ssa-dom.h
tree-ssa-live.h
tree-ssa-loop.h
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.h
tree-ssa-loop-niter.h
tree-ssa-propagate.h
tree-ssa-ter.h
tree-ssa-threadedge.h
tree-ssa-threadupdate.h
tree-stdarg.h
tree-streamer.h
tree-vectorizer.h
tsan.h
tsystem.h
typeclass.h
ubsan.h
valtrack.h
value-prof.h
vmsdbg.h
vtable-verify.h
xcoff.h
xcoffout.h
c/c-lang.h
c/c-objc-common.h
c/c-tree.h
cp/cfns.h
cp/cp-objcp-common.h
cp/decl.h
cp/lang-specs.h
cp/parser.h
cp/type-utils.h
c-family/c-ada-spec.h
c-family/c-format.h
c-family/c-target-def.h
c-family/c-target.h
c-family/c-ubsan.h

So, which of these we want to install for plugins and which are not useful for
plugins?


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #21 from Jakub Jelinek jakub at gcc dot gnu.org ---
Reduced list of new headers that weren't in 4.8 (subset of the previous list):
attribs.h
calls.h
cfgexpand.h
cilk.h
diagnostic-color.h
gcc-symtab.h
gimple-builder.h
gimple-low.h
gimple-walk.h
gimplify-me.h
graphite-htab.h
omp-low.h
pass_manager.h
print-rtl.h
stmt.h
tree-dfa.h
tree-hasher.h
tree-nested.h
tree-object-size.h
tree-outof-ssa.h
tree-parloops.h
tree-ssa-address.h
tree-ssa-coalesce.h
tree-ssa-dom.h
tree-ssa-loop.h
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.h
tree-ssa-loop-niter.h
tree-ssa-ter.h
tree-ssa-threadedge.h
tree-ssa-threadupdate.h
ubsan.h
vtable-verify.h
cp/type-utils.h
c-family/c-ubsan.h


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-14 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #22 from PaX Team pageexec at gmail dot com ---
some notes:

1. there're *.def files as well needed for certain headers
2. there're target specific headers and .def files installed/needed from
gcc/config/*/ as well
3. it's hard to tell a priori what one will need ;), but i'd say tree*.h,
gimple*.h, *rtl*.h, targ*.h, expr.h, recog,h, regs.h, reload.h, ira.h,
dwarf2asm.h, hosthooks.h, coverage.h, value-prof.h, alloc-pool.h,
lto-streamer.h, diagnostic-color.h at least would be useful (and all their
dependencies of course).


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #23 from Jakub Jelinek jakub at gcc dot gnu.org ---
Created attachment 32593
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32593action=edit
gcc49-pr59335.patch

So, let's add the headers added in 4.9 and other stuff shouldn't be a
regression from 4.9 then and can be added on a case by case basis.
For 5.0 I hope something smarter will be added and we'll have some better
plugin API than everything is the API.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-13 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #18 from PaX Team pageexec at gmail dot com ---
found another missing header not installed for plugins: stmt.h (seemingly it
was split off from tree.h which has always been exported, so this probably
counts as a regression).


[Bug plugins/59335] Plugin doesn't build on trunk

2014-04-13 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Uroš Bizjak ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #19 from Uroš Bizjak ubizjak at gmail dot com ---
Reopen as per Comment #18.

[Bug plugins/59335] Plugin doesn't build on trunk

2014-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #14 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Wed Mar  5 09:52:18 2014
New Revision: 208344

URL: http://gcc.gnu.org/viewcvs?rev=208344root=gccview=rev
Log:
PR plugins/59335
* config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
(TM_H): Add x86-tune.def.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/t-i386


[Bug plugins/59335] Plugin doesn't build on trunk

2014-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #15 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Wed Mar  5 15:06:23 2014
New Revision: 208346

URL: http://gcc.gnu.org/viewcvs?rev=208346root=gccview=rev
Log:
PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in


[Bug plugins/59335] Plugin doesn't build on trunk

2014-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #16 from Jakub Jelinek jakub at gcc dot gnu.org ---
If you are aware of any further headers not installed, please reopen.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-03-05 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #17 from PaX Team pageexec at gmail dot com ---
sure, thanks for fixing the already mentioned ones, i verified that all works
fine for my plugins at least. as a related question, isn't there a better way
than playing this whack-a-mole game with gcc headers vs. plugin headers? as i
understand it, the testsuite doesn't simulate an installed environment for
plugins but there has to be a way to automatically discover new
headers+dependencies that should be exposed to plugins...

PS: i can't reopen this one as i don't seem to have such rights but i'll
comment anyway if i run across something.

PS2: can the $(RESOURCE_H) hunk be backported to the still maintained versions
at least?


[Bug plugins/59335] Plugin doesn't build on trunk

2014-03-04 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #13 from PaX Team pageexec at gmail dot com ---
another missing include in trunk: tree-cfgcleanup.h (it seems that it was split
from tree-flow.h which used to be installed for plugins for gcc 4.5-4.8).


[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-18 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #12 from PaX Team pageexec at gmail dot com ---
two more headers not installed (even by older gcc versions so a backport to at
least 4.8/4.7 would be nice) but they're needed for an rtl pass to be able to
make use of the df info:

df.h
regset.h


[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-13 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #10 from PaX Team pageexec at gmail dot com ---
please reopen, this bug is not fixed yet.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-13 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Joey Ye joey.ye at arm dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #11 from Joey Ye joey.ye at arm dot com ---
Reopen per-requested.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-02-12 Thread joey.ye at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Joey Ye joey.ye at arm dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Joey Ye joey.ye at arm dot com ---
Resolved in trunk


[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-26 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #8 from PaX Team pageexec at gmail dot com ---
Uroš, i tried your patch and it didn't install those two files. on the other
hand i found more missing headers:

gcc/tree-phinodes.h
gcc/stor-layout.h
gcc/ssa-iterators.h

[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-11 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #7 from Uroš Bizjak ubizjak at gmail dot com ---
Can someone please test following patch:

--cut here--
Index: config/i386/t-i386
===
--- config/i386/t-i386  (revision 206552)
+++ config/i386/t-i386  (working copy)
@@ -16,6 +16,9 @@
 # along with GCC; see the file COPYING3.  If not see
 # http://www.gnu.org/licenses/.

+PLUGIN_HEADERS += $(srcdir)/config/i386/x86-tune.def \
+  $(srcdir)/config/i386/stringop.def
+  
 i386-c.o: $(srcdir)/config/i386/i386-c.c i386-builtin-types.inc
  $(COMPILE) $
  $(POSTCOMPILE)
--cut here--

[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-10 Thread sje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #4 from Steve Ellcey sje at gcc dot gnu.org ---
Author: sje
Date: Fri Jan 10 17:54:10 2014
New Revision: 206535

URL: http://gcc.gnu.org/viewcvs?rev=206535root=gccview=rev
Log:
2014-01-10  Steve Ellcey  sell...@mips.com

PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
tree-ssanames.h, print-tree.h, varasm.h, and context.h.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in


[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-10 Thread sje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #5 from Steve Ellcey sje at gcc dot gnu.org ---
The generic problems should be fixed with my patch but the x86 specific plugin
build problem probably still exists.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-10 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #6 from PaX Team pageexec at gmail dot com ---
i can confirm that only gcc/config/i386/stringop.def and
gcc/config/i386/x86-tune.def seem to be missing on x86 targets.


[Bug plugins/59335] Plugin doesn't build on trunk

2014-01-08 Thread sje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

Steve Ellcey sje at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-01-08
 CC||sje at gcc dot gnu.org
 Ever confirmed|0   |1


[Bug plugins/59335] Plugin doesn't build on trunk

2013-12-29 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

PaX Team pageexec at gmail dot com changed:

   What|Removed |Added

 CC||pageexec at gmail dot com

--- Comment #2 from PaX Team pageexec at gmail dot com ---
there're some more missing headers for plugins on amd64 at least:

gimplify.h
tree-flow.h
tree-flow-inline.h
config/i386/x86-tune.def


[Bug plugins/59335] Plugin doesn't build on trunk

2013-12-29 Thread pageexec at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #3 from PaX Team pageexec at gmail dot com ---
small correction: tree-flow.h and tree-flow-inline.h seem to be removed however
here's an additional list of headers that i needed to copy over manually to get
some plugins to compile:

fold-const.h
gimple-ssa.h
tree-ssanames.h
context.h
print-tree.h
gimple-iterator.h
varasm.h


[Bug plugins/59335] Plugin doesn't build on trunk

2013-11-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
These are two different issues.  The x86 one is a target specific issue and the
arm one is a generic issue.

That is what it should be doing for x86 should be something like arm does:
t-arm:TM_H += $(srcdir)/config/arm/arm-cores.def