Your message dated Wed, 05 Aug 2015 12:25:04 +0200
with message-id <55c1e480.1020...@debian.org>
and subject line Re: Bug#794605: gcc-5-plugin-dev: A simpel test to see if
gcc-5-plugin-dev works yields as result:
has caused the Debian Bug report #794605,
regarding gcc-5-plugin-dev: A simpel test to see if gcc-5-plugin-dev works
yields as result:
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 ow...@bugs.debian.org
immediately.)
--
794605: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794605
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On 08/04/2015 09:41 PM, Huub Reuver wrote:
> Package: gcc-5-plugin-dev
> Version: 5.2.1-14
> Severity: normal
upstream replied:
> Not a bug, all plugins have to be compiled as C++ with 5 and above.
> ENABLE_BUILD_WITH_CXX was removed because it is all C++ code now.
> 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.
plugins are very dependent on the major GCC version, so likely need updates.
That's one reason not to ship any gcc-plugin-dev package, but only the versioned
packages.
closing this issue.
--- End Message ---