Package: gcc-5-plugin-dev Version: 5.2.1-14 Severity: normal
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.1.3-201507281943-2 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) The test used can be used from the CLI: 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. */ .. This rule was not present in gcc-4.9-plugin-dev. I suppose some dependency could be missing after installing build-essential and gcc-5-plugin-dev with apt-get on a clean system. With regards, Huub -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org