possible bug: wrong GCCPLUGIN_VERSION_MINOR for gcc-5-plugin-dev (5.1.1-14)
Hello all
(I reported this on upstream
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66991 but it is probably
a Debian specific bug. I did sent a bug report, but was not ack-ed, so
perhaps something went wrong)
Package: gcc-5-plugin-dev
Version: 5.1.1-14
Severity: important
Tags: newcomer
Dear Maintainer,
* What led up to the situation?
Compiling my MELT meta-plugin for GCC 5.1; see http://gcc-melt.org/ for more about MELT.
Then did:
% grep GCCPLUGIN /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/plugin-version.h
Obtaining:
#define GCCPLUGIN_VERSION_MAJOR 5
#define GCCPLUGIN_VERSION_MINOR 5
#define GCCPLUGIN_VERSION_PATCHLEVEL 5
#define GCCPLUGIN_VERSION (GCCPLUGIN_VERSION_MAJOR*1000 + GCCPLUGIN_VERSION_MINOR)
This is wrong. GCCPLUGIN_VERSION_MINOR should be 1 for GCC 5.1
The upstream GCC 5.1 & 5.2 from FSF does not show this issue.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Using Debian GCC 5 plugin dev package
* What was the outcome of this action?
* What outcome did you expect instead?
I also registered that bug on GCC bugzilla as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66991 but it is very
probably Debian specific (since non reproducible upstream)
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages gcc-5-plugin-dev depends on:
ii gcc-5 5.1.1-14
ii gcc-5-base 5.1.1-14
ii libc6 2.19-19
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
Regards.
--
Basile Starynkevitch http://starynkevitch.net/Basile/
France basile@starynkevitch.net
working on http://gcc-melt.org/
Reply to: