buildbot failures, configure Cannot find Clang development headers

Mark Wielaard mark@klomp.org
Mon Jun 8 08:39:39 GMT 2026


Hi Nick,

On Mon, Jun 08, 2026 at 09:32:10AM +0100, Nick Clifton wrote:
> >Unfortunately then on the debian i386 old-stable install gcc turns out
> >to be not new enough. The plugin interface is missing for_each_plugin
> >
> >annobin.cc: In function ‘bool multiple_annobin_plugins_present(const char*)’:
> >annobin.cc:3317:3: error: ‘for_each_plugin’ was not declared in this scope
> >  3317 |   for_each_plugin (callback, & cbd);
> >       |   ^~~~~~~~~~~~~~~
> 
> Which version of gcc is installed ?

It is https://builder.sourceware.org/buildbot/#/workers/5
Debian GNU/Linux 12 (bookworm) with GCC 12.2.0

> The gcc plugin code already has a check for the gcc version being greater
> than 11:
> 
>   #if GCCPLUGIN_VERSION_MAJOR > 11
>     /* We used to call plugins_active_p() here but this only lets us know if
>        there are other active plugins.  It does not tell us if they are
>        different versions of the annobin plugin.  So instead we iterate
>        over the installed plugins, examining their version information.  */
> 
>     callback_data cbd = { 0, 0 };
> 
>     for_each_plugin (callback, & cbd);
> 
> 
> I thought that for_each_plugin() was introduced with gcc version 12, but
> I could be wrong.

Looks like it was introduced in GCC 14.

Cheers,

Mark


More information about the Annobin mailing list