[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#904379: problem with get_identifier_with_length



Package: gcc-8-plugin-dev
Version: 8.1.0-12

I get this when I try to compile the 4.14.57 kernel:

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  DESCEND  objtool
  CHK     include/generated/utsrelease.h
In file included from ./scripts/gcc-plugins/gcc-common.h:101,
                 from <stdin>:1:
/usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/attribs.h: In function ‘tree_node* canonicalize_attr_name(tree)’:
/usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/attribs.h:118:12: error: ‘get_identifier_with_length’ was not declared in this scope
     return get_identifier_with_length (s + 2, l - 4);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/8/plugin/include/attribs.h:118:12: note: suggested alternative: ‘get_attr_min_length’
     return get_identifier_with_length (s + 2, l - 4);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
            get_attr_min_length
Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing?
make: *** [scripts/Makefile.gcc-plugins:70: gcc-plugins-check] Error 1

Any ideas?


Reply to: