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

Bug#748024: gcc-4.9-plugin-dev: gcc plugins can not build



Package: gcc-4.9-plugin-dev
Version: 4.9.0-2
Severity: serious
Justification: Renders package unusable

Hello,

Some headers seem to be missing to make using plugins workable at all
with gcc-4.9:

$ cat test.cpp
#include <gcc-plugin.h>
#include <tree.h>
#include <gimple.h>

int main(void) {
	return 0;
}
$ g++-4.9 test.cpp -o test  -I$(g++-4.9 -print-file-name=plugin)/include
...
/usr/lib/gcc/x86_64-linux-gnu/4.9/plugin/include/gimple.h:276:22: error:
field ‘call_used’ has incomplete type ‘pt_solution’ struct pt_solution call_used;

struct pt_solution is nowhere to be found in the plugin headers.

Samuel

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

Kernel: Linux 3.14.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.9-plugin-dev depends on:
ii  gcc-4.9       4.9.0-2
ii  gcc-4.9-base  4.9.0-2
ii  libc6         2.18-5
ii  libgmp-dev    2:6.0.0+dfsg-4

gcc-4.9-plugin-dev recommends no packages.

gcc-4.9-plugin-dev suggests no packages.

-- no debconf information

-- 
Samuel
"...[Linux's] capacity to talk via any medium except smoke signals."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)


Reply to: