Public bug reported:

This is on Precise. Steps to reproduce:

1. Install GCC and dragonegg with
    sudo apt-get install gcc dragonegg

2. Create a C program with
    cat >> test.c <<EOF
#include <stdio.h>
int main(void) {
 printf("1\n");
 return 0;
}
EOF

3. Compile it with
    gcc -fplugin=dragonegg -o test test.c

The compiler complains that:
  Potential incompatible plugin version. GCC: 4.6. Expected: 4.6
  Defines 'dragonegg_disable_version_check' as env variable to remove this 
warning
  Please note that unexpected errors might occur.
which does not make much sense since the expected/actual GCC versions are both 
4.6. The compiled binary runs correctly (with `./test`), despite the warning. 
This happens with the gfortran and g++ frontends too.

There's a Debian bug tracking this issue: http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=656616

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dragonegg 3.0-1
ProcVersionSignature: Ubuntu 3.2.0-11.19-generic 3.2.1
Uname: Linux 3.2.0-11-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sun Jan 29 13:39:58 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120112)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: dragonegg
UpgradeStatus: Upgraded to precise on 2012-01-28 (1 days ago)

** Affects: dragonegg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/923349

Title:
  dragonegg issues warning "Potential incompatible plugin version. GCC:
  4.6. Expected: 4.6"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dragonegg/+bug/923349/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to