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

Bug#904379: marked as done (problem with get_identifier_with_length)



Your message dated Thu, 2 Aug 2018 06:10:23 +0200
with message-id <95105b5a-4d3c-881a-d3e8-9e5326e40ce7@debian.org>
and subject line Re: Bug#904379: problem with get_identifier_with_length
has caused the Debian Bug report #904379,
regarding problem with get_identifier_with_length
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
904379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904379
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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?

--- End Message ---
--- Begin Message ---
On 25.07.2018 18:15, Carlos Carvalho wrote:
> Matthias Klose (doko@debian.org) wrote on Tue, Jul 24, 2018 at 01:02:24AM -03:
>> Control: tags -1 + moreinfo
>>
>> On 23.07.2018 20:10, Carlos Carvalho wrote:
>>> 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?
>>
>> no. Please provide the source, and the command line options used.
> 
> All that I know is that it's the linux kernel 4.14.57. I could provide my
> config but I don't know how to proceed. It also happens with 4.14.58. The
> relevant portion of my config is
> 
> CONFIG_HAVE_GCC_PLUGINS=y
> CONFIG_GCC_PLUGINS=y
> # CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set
> # CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set
> CONFIG_GCC_PLUGIN_STRUCTLEAK=y
> CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
> # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set
> CONFIG_GCC_PLUGIN_RANDSTRUCT=y
> CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=y
> 
> because it stops in the tests to see if gcc plugins are supported.
> 
> It could be an error in the kernel. I tried 4.17.10 and compilation worked.

ok, closing.  You are on your own building a kernel with a GCC version released
after a kernel release.

--- End Message ---

Reply to: