[Bug plugins/67122] New: [5/6 Regression] installed plugin headers not sufficient
doko at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 5 08:19:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67122
Bug ID: 67122
Summary: [5/6 Regression] installed plugin headers not
sufficient
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: plugins
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
[forwarded from https://bugs.debian.org/794605]
gcc -E -shared - -o /dev/null -I`gcc -print-file-name=plugin`/include 2>&1
<<EOF
#include "gcc-plugin.h"
#include "tree.h"
#include "tm.h"
#include "rtl.h"
#ifdef ENABLE_BUILD_WITH_CXX
#warning g++
#else
#warning gcc
#endif
EOF
It yields on my system:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/hash-set.h:24:0,
from
/usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/gcc-plugin.h:33,
from <stdin>:1:
/usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/hash-table.h:201:15: fatal
error: new: No such file or directory
compilation terminated.
This looks to me like some very basic parts are not working correctly.
Currently the build-essential is updated from 4.9 to 5.2.1, but this problem
prevents the gcc-plugins from working.
At the location gcc-plugin-dev breaks on the "#include <new>" rule:
..
#define TYPED_HASHTAB_H
#include "ggc.h"
#include "hashtab.h"
#include <new>
template<typename, typename, typename> class hash_map;
template<typename, typename> class hash_set;
/* The ordinary memory allocator. */
..
More information about the Gcc-bugs
mailing list