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

Bug#798997: gcc-5-plugin-dev: gcc-5 plugins unusable



Package: gcc-5-plugin-dev
Version: 5.2.1-17
Severity: important

Hi,

it seems that GCC plugins are unusable with the 5.1 version:

-----
gcc -E -shared - -o /dev/null -I`gcc -print-file-name=plugin`/include <<EOF
#include "gcc-plugin.h"
EOF
-----

(so really just including gcc-plugin.h) fails with:


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.

And indeed, hash-table.h contains: 

#include <new>                                                                  

which I'm not sure is really supposed to exist.

If you need more info, please ask.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.6-grsec+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-5-plugin-dev depends on:
ii  gcc-5       5.2.1-17
ii  gcc-5-base  5.2.1-17
ii  libc6       2.19-20
ii  libgmp-dev  2:6.0.0+dfsg-7

gcc-5-plugin-dev recommends no packages.

gcc-5-plugin-dev suggests no packages.

-- no debconf information


Reply to: