Bug#618768: llvm-gcc-4.5: Incompatible plugin version (dragonegg.so)
Sylvestre Ledru
sylvestre at debian.org
Sat May 7 18:56:26 UTC 2011
Le vendredi 06 mai 2011 à 23:46 +0200, Sylvestre Ledru a écrit :
> Le mercredi 04 mai 2011 à 19:28 +0200, Urs Janssen a écrit :
> > The reported problem still exists:
> Indeed.
Digging more.
The error is in dragonegg-2.8/llvm-backend.cpp
The version checks is done against the exact version of gcc:
----
// Check that the running gcc has exactly the same version as the gcc
we were
// built against. This strict check seems wise when developing
against a fast
// moving gcc tree. TODO: Use a milder check if doing a "release
build".
return plugin_default_version_check (gcc_version, plugin_version);
----
To run, dragonegg except the exact same version it has been built
with... (what a pain).
A workaround is to do:
dragonegg_disable_version_check=1 llvm-gcc -o foo foo.c
which is working with your example.
S
More information about the Pkg-llvm-team
mailing list