Bug#679914: llvm-gcc-4.6: Incompatible plugin version, can't compile C

Vincent Legout vincent at legout.info
Tue Jul 10 20:18:57 UTC 2012


tags 679914 patch
thanks

Hi,

Vincent Lefevre <vincent at vinc17.net> writes:

> llvm-gcc can't compile even simple C programs such as
>
> int main (void) { return 0; }
>
> I get the following error:
>
> $ llvm-gcc tst.c
> Incompatible plugin version
> cc1: error: fail to initialize plugin /usr/lib/gcc/x86_64-linux-gnu/4.6/plugin/dragonegg.so
>
> even though llvm-gcc-4.6 and dragonegg-4.6 have the same version 3.1-1
> (current unstable).

Since dragonegg 3.1-1, the patch donotfailincompatiblepluginversion.diff
is no longer applied and it seems using dragonegg_disable_version_check
no longer works.

I suggest the attached patch which builds dragonegg with
DISABLE_VERSION_CHECK=1 to be able to use a different gcc version that
the one dragonegg was built against. I built dragonegg on amd64 with
this patch and it fixes this bug.

Hope that helps,
Vincent

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 679914.patch
Type: text/x-diff
Size: 1627 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120710/3dd0f625/attachment.patch>


More information about the Pkg-llvm-team mailing list