Advertisement
Guest User

plugin.c

a guest
Jun 3rd, 2020
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 31.72 KB | None | 0 0
  1. g++ -std=c++11 -Wall -fno-rtti -Wno-literal-suffix -fPIC -fno-rtti -I/usr/include -I/usr/lib/gcc/x86_64-linux-gnu/8/plugin/include -o nexmon.o -c ../gcc-nexmon-plugin/nexmon.c
  2. In file included from ../gcc-nexmon-plugin/nexmon.c:2:
  3. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h:4430:2: error: #error Unknown BITS_PER_UNIT
  4.  #error Unknown BITS_PER_UNIT
  5.   ^~~~~
  6. In file included from /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/c-family/c-pragma.h:23,
  7.                  from ../gcc-nexmon-plugin/nexmon.c:7:
  8. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/cpplib.h:287:3: error: #error "Cannot find a least-32-bit signed integer type"
  9.  # error "Cannot find a least-32-bit signed integer type"
  10.    ^~~~~
  11. In file included from ../gcc-nexmon-plugin/nexmon.c:1:
  12. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:123:48: error: use of enum ‘insert_option’ without previous declaration
  13.  int get_named_event_id (const char *name, enum insert_option insert);
  14.                                                 ^~~~~~~~~~~~~
  15. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:167:34: error: variable or field ‘dump_active_plugins’ declared void
  16.  extern void dump_active_plugins (FILE *);
  17.                                   ^~~~
  18. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:167:34: error: ‘FILE’ was not declared in this scope
  19. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:167:34: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
  20. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:30:1:
  21. +#include <cstdio>
  22.  # undef DEFEVENT
  23. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:167:34:
  24.  extern void dump_active_plugins (FILE *);
  25.                                   ^~~~
  26. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:167:40: error: expected primary-expression before ‘)’ token
  27.  extern void dump_active_plugins (FILE *);
  28.                                         ^
  29. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:170:37: error: variable or field ‘print_plugins_versions’ declared void
  30.  extern void print_plugins_versions (FILE *file, const char *indent);
  31.                                      ^~~~
  32. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:170:37: error: ‘FILE’ was not declared in this scope
  33. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:170:37: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
  34. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:170:43: error: ‘file’ was not declared in this scope
  35.  extern void print_plugins_versions (FILE *file, const char *indent);
  36.                                            ^~~~
  37. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:170:49: error: expected primary-expression before ‘const’
  38.  extern void print_plugins_versions (FILE *file, const char *indent);
  39.                                                  ^~~~~
  40. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:171:33: error: variable or field ‘print_plugins_help’ declared void
  41.  extern void print_plugins_help (FILE *file, const char *indent);
  42.                                  ^~~~
  43. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:171:33: error: ‘FILE’ was not declared in this scope
  44. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:171:33: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
  45. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:171:39: error: ‘file’ was not declared in this scope
  46.  extern void print_plugins_help (FILE *file, const char *indent);
  47.                                        ^~~~
  48. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:171:45: error: expected primary-expression before ‘const’
  49.  extern void print_plugins_help (FILE *file, const char *indent);
  50.                                              ^~~~~
  51. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/plugin.h:185:36: error: expected ‘,’ or ‘...’ before ‘ATTRIBUTE_UNUSED’
  52.  invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED,
  53.                                     ^~~~~~~~~~~~~~~~
  54. In file included from /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h:23,
  55.                  from ../gcc-nexmon-plugin/nexmon.c:2:
  56. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:183:9: error: ‘MAX_MODE_COMPLEX_FLOAT’ was not declared in this scope
  57.        + MAX_MODE_COMPLEX_FLOAT
  58.          ^~~~~~~~~~~~~~~~~~~~~~
  59. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:184:9: error: ‘MIN_MODE_COMPLEX_FLOAT’ was not declared in this scope
  60.        - MIN_MODE_COMPLEX_FLOAT,
  61.          ^~~~~~~~~~~~~~~~~~~~~~
  62. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:189:9: error: ‘MAX_MODE_COMPLEX_FLOAT’ was not declared in this scope
  63.        + MAX_MODE_COMPLEX_FLOAT
  64.          ^~~~~~~~~~~~~~~~~~~~~~
  65. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:190:9: error: ‘MIN_MODE_COMPLEX_FLOAT’ was not declared in this scope
  66.        - MIN_MODE_COMPLEX_FLOAT,
  67.          ^~~~~~~~~~~~~~~~~~~~~~
  68. In file included from /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h:23,
  69.                  from ../gcc-nexmon-plugin/nexmon.c:2:
  70. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:863:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  71.    tree decl;
  72.    ^~~~
  73.    strsep
  74. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:864:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  75.    tree target;
  76.    ^~~~
  77.    strsep
  78. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:871:14: error: ISO C++ forbids declaration of ‘tree’ with no type [-fpermissive]
  79.  typedef tree (*walk_tree_fn) (tree *, int *, void *);
  80.               ^
  81. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:871:14: error: typedef ‘tree’ is initialized (use decltype instead)
  82. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:871:16: error: ‘walk_tree_fn’ was not declared in this scope
  83.  typedef tree (*walk_tree_fn) (tree *, int *, void *);
  84.                 ^~~~~~~~~~~~
  85. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:871:16: note: suggested alternative: ‘walk_tree’
  86.  typedef tree (*walk_tree_fn) (tree *, int *, void *);
  87.                 ^~~~~~~~~~~~
  88.                 walk_tree
  89. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:874:14: error: ISO C++ forbids declaration of ‘tree’ with no type [-fpermissive]
  90.  typedef tree (*walk_tree_lh) (tree *, int *, tree (*) (tree *, int *, void *),
  91.               ^
  92. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:874:14: error: typedef ‘tree’ is initialized (use decltype instead)
  93. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:874:16: error: ‘walk_tree_lh’ was not declared in this scope
  94.  typedef tree (*walk_tree_lh) (tree *, int *, tree (*) (tree *, int *, void *),
  95.                 ^~~~~~~~~~~~
  96. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:874:16: note: suggested alternative: ‘walk_tree’
  97.  typedef tree (*walk_tree_lh) (tree *, int *, tree (*) (tree *, int *, void *),
  98.                 ^~~~~~~~~~~~
  99.                 walk_tree
  100. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:903:26: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  101.    ENUM_BITFIELD(tree_code) code : 16;
  102.                           ^
  103. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:903:26: error: expected ‘;’ at end of member declaration
  104.    ENUM_BITFIELD(tree_code) code : 16;
  105.                           ^
  106.                            ;
  107. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:903:28: error: ‘code’ does not name a type
  108.    ENUM_BITFIELD(tree_code) code : 16;
  109.                             ^~~~
  110. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1305:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  111.    tree type;
  112.    ^~~~
  113.    strsep
  114. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1310:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  115.    tree chain;
  116.    ^~~~
  117.    strsep
  118. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1315:3: error: ‘HOST_WIDE_INT’ does not name a type
  119.    HOST_WIDE_INT val[1];
  120.    ^~~~~~~~~~~~~
  121. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1337:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  122.    tree real;
  123.    ^~~~
  124.    strsep
  125. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1338:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  126.    tree imag;
  127.    ^~~~
  128.    strsep
  129. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1343:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  130.    tree GTY ((length ("vector_cst_encoded_nelts ((tree) &%h)"))) elts[1];
  131.    ^~~~
  132.    strsep
  133. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1348:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  134.    tree coeffs[NUM_POLY_INT_COEFFS];
  135.    ^~~~
  136.    strsep
  137. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1358:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  138.    tree purpose;
  139.    ^~~~
  140.    strsep
  141. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1359:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  142.    tree value;
  143.    ^~~~
  144.    strsep
  145. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1364:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  146.    tree GTY ((length ("TREE_VEC_LENGTH ((tree)&%h)"))) a[1];
  147.    ^~~~
  148.    strsep
  149. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1372:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  150.    tree index;
  151.    ^~~~
  152.    strsep
  153. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1373:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  154.    tree value;
  155.    ^~~~
  156.    strsep
  157. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1378:3: error: ‘vec’ does not name a type
  158.    vec<constructor_elt, va_gc> *elts;
  159.    ^~~
  160. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1412:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  161.    location_t locus;
  162.    ^~~~~~~~~~
  163.    locale_t
  164. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1413:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  165.    tree GTY ((special ("tree_exp"),
  166.    ^~~~
  167.    strsep
  168. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1428:11: error: ‘gimple’ does not name a type
  169.    union { gimple *stmt; tree ssa_name; } GTY((skip(""))) loc;
  170.            ^~~~~~
  171. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1428:25: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  172.    union { gimple *stmt; tree ssa_name; } GTY((skip(""))) loc;
  173.                          ^~~~
  174.                          strsep
  175. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1429:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  176.    tree *GTY((skip(""))) use;
  177.    ^~~~
  178.    strsep
  179. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1436:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  180.    tree var;
  181.    ^~~~
  182.    strsep
  183. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1439:3: error: ‘gimple’ does not name a type
  184.    gimple *def_stmt;
  185.    ^~~~~~
  186. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1458:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  187.    tree def;
  188.    ^~~~
  189.    strsep
  190. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1459:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  191.    location_t locus;
  192.    ^~~~~~~~~~
  193.    locale_t
  194. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1464:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  195.    location_t locus;
  196.    ^~~~~~~~~~
  197.    locale_t
  198. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1483:3: error: ‘gimple_seq’ does not name a type
  199.    gimple_seq gimple_reduction_init;
  200.    ^~~~~~~~~~
  201. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1484:3: error: ‘gimple_seq’ does not name a type
  202.    gimple_seq gimple_reduction_merge;
  203.    ^~~~~~~~~~
  204. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1486:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  205.    tree GTY ((length ("omp_clause_num_ops[OMP_CLAUSE_CODE ((tree)&%h)]")))
  206.    ^~~~
  207.    strsep
  208. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1492:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  209.    tree chain;
  210.    ^~~~
  211.    strsep
  212. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1497:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  213.    location_t locus;
  214.    ^~~~~~~~~~
  215.    locale_t
  216. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1498:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  217.    location_t end_locus;
  218.    ^~~~~~~~~~
  219.    locale_t
  220. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1500:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  221.    tree vars;
  222.    ^~~~
  223.    strsep
  224. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1501:3: error: ‘vec’ does not name a type
  225.    vec<tree, va_gc> *nonlocalized_vars;
  226.    ^~~
  227. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1503:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  228.    tree subblocks;
  229.    ^~~~
  230.    strsep
  231. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1504:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  232.    tree supercontext;
  233.    ^~~~
  234.    strsep
  235. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1505:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  236.    tree abstract_origin;
  237.    ^~~~
  238.    strsep
  239. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1506:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  240.    tree fragment_origin;
  241.    ^~~~
  242.    strsep
  243. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1507:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  244.    tree fragment_chain;
  245.    ^~~~
  246.    strsep
  247. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1515:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  248.    tree size;
  249.    ^~~~
  250.    strsep
  251. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1516:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  252.    tree size_unit;
  253.    ^~~~
  254.    strsep
  255. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1517:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  256.    tree attributes;
  257.    ^~~~
  258.    strsep
  259. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1527:17: error: ‘machine_mode’ has not been declared
  260.    ENUM_BITFIELD(machine_mode) mode : 8;
  261.                  ^~~~~~~~~~~~
  262. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1527:29: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  263.    ENUM_BITFIELD(machine_mode) mode : 8;
  264.                              ^
  265. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1527:29: error: expected ‘;’ at end of member declaration
  266.    ENUM_BITFIELD(machine_mode) mode : 8;
  267.                              ^
  268.                               ;
  269. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1527:31: error: ‘mode’ does not name a type
  270.    ENUM_BITFIELD(machine_mode) mode : 8;
  271.                                ^~~~
  272. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1550:3: error: ‘alias_set_type’ does not name a type; did you mean ‘lang_type’?
  273.    alias_set_type alias_set;
  274.    ^~~~~~~~~~~~~~
  275.    lang_type
  276. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1551:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  277.    tree pointer_to;
  278.    ^~~~
  279.    strsep
  280. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1552:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  281.    tree reference_to;
  282.    ^~~~
  283.    strsep
  284. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1557:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  285.    tree canonical;
  286.    ^~~~
  287.    strsep
  288. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1558:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  289.    tree next_variant;
  290.    ^~~~
  291.    strsep
  292. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1559:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  293.    tree main_variant;
  294.    ^~~~
  295.    strsep
  296. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1560:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  297.    tree context;
  298.    ^~~~
  299.    strsep
  300. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1561:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  301.    tree name;
  302.    ^~~~
  303.    strsep
  304. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1572:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  305.    tree values;
  306.    ^~~~
  307.    strsep
  308. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1573:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  309.    tree minval;
  310.    ^~~~
  311.    strsep
  312. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1574:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  313.    tree maxval;
  314.    ^~~~
  315.    strsep
  316. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1575:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  317.    tree lang_1;
  318.    ^~~~
  319.    strsep
  320. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1581:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  321.    tree offset;
  322.    ^~~~
  323.    strsep
  324. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1582:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  325.    tree vtable;
  326.    ^~~~
  327.    strsep
  328. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1583:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  329.    tree virtuals;
  330.    ^~~~
  331.    strsep
  332. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1584:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  333.    tree vptr_field;
  334.    ^~~~
  335.    strsep
  336. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1585:3: error: ‘vec’ does not name a type
  337.    vec<tree, va_gc> *base_accesses;
  338.    ^~~
  339. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1586:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  340.    tree inheritance;
  341.    ^~~~
  342.    strsep
  343. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1588:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  344.    tree vtt_subvtt;
  345.    ^~~~
  346.    strsep
  347. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1589:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  348.    tree vtt_vptr;
  349.    ^~~~
  350.    strsep
  351. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1591:3: error: ‘vec’ does not name a type
  352.    vec<tree, va_gc> base_binfos;
  353.    ^~~
  354. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1596:3: error: ‘location_t’ does not name a type; did you mean ‘locale_t’?
  355.    location_t locus;
  356.    ^~~~~~~~~~
  357.    locale_t
  358. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1598:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  359.    tree name;
  360.    ^~~~
  361.    strsep
  362. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1599:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  363.    tree context;
  364.    ^~~~
  365.    strsep
  366. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1604:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  367.    tree size;
  368.    ^~~~
  369.    strsep
  370. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1606:17: error: ‘machine_mode’ has not been declared
  371.    ENUM_BITFIELD(machine_mode) mode : 8;
  372.                  ^~~~~~~~~~~~
  373. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1606:29: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  374.    ENUM_BITFIELD(machine_mode) mode : 8;
  375.                              ^
  376. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1606:29: error: expected ‘;’ at end of member declaration
  377.    ENUM_BITFIELD(machine_mode) mode : 8;
  378.                              ^
  379.                               ;
  380. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1606:31: error: ‘mode’ does not name a type
  381.    ENUM_BITFIELD(machine_mode) mode : 8;
  382.                                ^~~~
  383. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1664:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  384.    tree size_unit;
  385.    ^~~~
  386.    strsep
  387. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1665:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  388.    tree initial;
  389.    ^~~~
  390.    strsep
  391. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1666:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  392.    tree attributes;
  393.    ^~~~
  394.    strsep
  395. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1667:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  396.    tree abstract_origin;
  397.    ^~~~
  398.    strsep
  399. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1675:3: error: ‘rtx’ does not name a type
  400.    rtx rtl;
  401.    ^~~
  402. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1681:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  403.    tree offset;
  404.    ^~~~
  405.    strsep
  406. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1682:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  407.    tree bit_field_type;
  408.    ^~~~
  409.    strsep
  410. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1683:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  411.    tree qualifier;
  412.    ^~~~
  413.    strsep
  414. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1684:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  415.    tree bit_offset;
  416.    ^~~~
  417.    strsep
  418. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1685:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  419.    tree fcontext;
  420.    ^~~~
  421.    strsep
  422. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1704:3: error: ‘rtx’ does not name a type
  423.    rtx incoming_rtl;
  424.    ^~~
  425. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1709:2: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  426.   tree assembler_name;
  427.   ^~~~
  428.   strsep
  429. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1725:16: error: ‘symbol_visibility’ has not been declared
  430.   ENUM_BITFIELD(symbol_visibility) visibility : 2;
  431.                 ^~~~~~~~~~~~~~~~~
  432. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1725:33: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  433.   ENUM_BITFIELD(symbol_visibility) visibility : 2;
  434.                                  ^
  435. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1725:33: error: expected ‘;’ at end of member declaration
  436.   ENUM_BITFIELD(symbol_visibility) visibility : 2;
  437.                                  ^
  438.                                   ;
  439. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1725:35: error: ‘visibility’ does not name a type
  440.   ENUM_BITFIELD(symbol_visibility) visibility : 2;
  441.                                    ^~~~~~~~~~
  442. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1750:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  443.    tree result;
  444.    ^~~~
  445.    strsep
  446. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1764:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  447.    tree arguments;
  448.    ^~~~
  449.    strsep
  450. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1766:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  451.    tree personality;
  452.    ^~~~
  453.    strsep
  454. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1769:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  455.    tree function_specific_target; /* target options */
  456.    ^~~~
  457.    strsep
  458. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1770:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  459.    tree function_specific_optimization; /* optimization options */
  460.    ^~~~
  461.    strsep
  462. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1773:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  463.    tree saved_tree;
  464.    ^~~~
  465.    strsep
  466. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1775:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  467.    tree vindex;
  468.    ^~~~
  469.    strsep
  470. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1781:34: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  471.    ENUM_BITFIELD(built_in_function) function_code : 12;
  472.                                   ^
  473. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1781:34: error: expected ‘;’ at end of member declaration
  474.    ENUM_BITFIELD(built_in_function) function_code : 12;
  475.                                   ^
  476.                                    ;
  477. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1781:36: error: ‘function_code’ does not name a type; did you mean ‘function’?
  478.    ENUM_BITFIELD(built_in_function) function_code : 12;
  479.                                     ^~~~~~~~~~~~~
  480.                                     function
  481. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1782:31: error: ISO C++ forbids declaration of ‘ENUM_BITFIELD’ with no type [-fpermissive]
  482.    ENUM_BITFIELD(built_in_class) built_in_class : 2;
  483.                                ^
  484. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1782:31: error: expected ‘;’ at end of member declaration
  485.    ENUM_BITFIELD(built_in_class) built_in_class : 2;
  486.                                ^
  487.                                 ;
  488. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1824:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  489.    tree stmt;
  490.    ^~~~
  491.    strsep
  492. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1960:9: error: expected identifier before ‘*’ token
  493.    tree (*handler) (tree *node, tree name, tree args,
  494.          ^
  495. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1960:20: error: ‘tree’ has not been declared
  496.    tree (*handler) (tree *node, tree name, tree args,
  497.                     ^~~~
  498. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1960:32: error: ‘tree’ has not been declared
  499.    tree (*handler) (tree *node, tree name, tree args,
  500.                                 ^~~~
  501. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1960:43: error: ‘tree’ has not been declared
  502.    tree (*handler) (tree *node, tree name, tree args,
  503.                                            ^~~~
  504. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1961:35: error: ISO C++ forbids declaration of ‘tree’ with no type [-fpermissive]
  505.       int flags, bool *no_add_attrs);
  506.                                    ^
  507. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1961:35: error: ‘tree’ declared as function returning a function
  508. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1986:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  509.    tree t;
  510.    ^~~~
  511.    strsep
  512. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1989:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  513.    tree offset;
  514.    ^~~~
  515.    strsep
  516. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:1993:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  517.    tree bitpos;
  518.    ^~~~
  519.    strsep
  520. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2000:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  521.    tree prev_field;
  522.    ^~~~
  523.    strsep
  524. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2003:3: error: ‘vec’ does not name a type
  525.    vec<tree, va_gc> *pending_statics;
  526.    ^~~
  527. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2013:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  528.    tree next;   /* TREE_LIST pointing to the next argument */
  529.    ^~~~
  530.    strsep
  531. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2018:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  532.    tree from;
  533.    ^~~~
  534.    strsep
  535. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2026:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  536.    tree to;
  537.    ^~~~
  538.    strsep
  539. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2032:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  540.    tree to;
  541.    ^~~~
  542.    strsep
  543. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2044:3: error: ‘vec’ does not name a type
  544.    vec<tree, va_gc> *to;
  545.    ^~~
  546. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2053:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  547.    tree t; /* the call_expr */
  548.    ^~~~
  549.    strsep
  550. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2059:3: error: ‘const_tree’ does not name a type; did you mean ‘constr_kind’?
  551.    const_tree t; /* the call_expr */
  552.    ^~~~~~~~~~
  553.    constr_kind
  554. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2067:3: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  555.    tree decl;
  556.    ^~~~
  557.    strsep
  558. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2103:16: error: ‘vec’ does not name a type
  559.  extern GTY(()) vec<alias_pair, va_gc> *alias_pairs;
  560.                 ^~~
  561. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2116:17: error: ‘vec’ does not name a type
  562.  extern GTY (()) vec<tree, va_gc> *all_translation_units;
  563.                  ^~~
  564. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2119:16: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  565.  extern GTY(()) tree global_trees[TI_MAX];
  566.                 ^~~~
  567.                 strsep
  568. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2123:16: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  569.  extern GTY(()) tree integer_types[itk_none];
  570.                 ^~~~
  571.                 strsep
  572. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2126:16: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  573.  extern GTY(()) tree sizetype_tab[(int) stk_type_kind_last];
  574.                 ^~~~
  575.                 strsep
  576. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2129:8: error: ‘uint64_t’ does not name a type
  577.  extern uint64_t tree_node_counts[];
  578.         ^~~~~~~~
  579. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2130:8: error: ‘uint64_t’ does not name a type
  580.  extern uint64_t tree_node_sizes[];
  581.         ^~~~~~~~
  582. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree-core.h:2144:16: error: ‘tree’ does not name a type; did you mean ‘strsep’?
  583.  extern GTY(()) tree current_function_decl;
  584.                 ^~~~
  585.                 strsep
  586. In file included from ../gcc-nexmon-plugin/nexmon.c:2:
  587. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h: In function ‘built_in_function as_builtin_fn(combined_fn)’:
  588. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h:55:3: error: ‘gcc_checking_assert’ was not declared in this scope
  589.    gcc_checking_assert (builtin_fn_p (code));
  590.    ^~~~~~~~~~~~~~~~~~~
  591. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h: In function ‘internal_fn as_internal_fn(combined_fn)’:
  592. /usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/tree.h:73:3: error: ‘gcc_checking_assert’ was not declared in this scope
  593.    gcc_checking_assert (internal_fn_p (code));
  594.    ^~~~~~~~~~~~~~~~~~~
  595. ^Cmake: *** [Makefile:30: nexmon.o] Interrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement