[LLVMdev] llvm-g++ does not work!

John Criswell criswell at illinois.edu
Tue Oct 2 10:45:50 PDT 2012

On 10/2/12 12:37 PM, Reza Sheykhi wrote:
> Hi,
> I am using PinaVM which is a prototype of a SystemC front-end based on 
> "LLVM". The only version that it works with is 2.8. Also to test 
> PinaVM, we need llvm-g++ (I think clang does not work). However, when 
> I want to run an example, i get the following error, which i think is 
> related to llvm-g++:
> reza at RezaUbuntu:~/pinavm-pinavm/systemc-examples/jerome-chain$ make 
> promela
> llvm-g++ -fno-inline-functions -I../../external/systemc-2.2.0/src/ 
> -I../../external/TLM-2009-07-15/include/tlm -I../../external/basic 
> -emit-llvm -c main.cpp -o main.bc

> Potential incompatible plugin version. GCC: 4.5.3. Expected: 4.5.4
> Defines 'dragonegg_disable_version_check' as env variable to remove 
> this warning

I don't know if you noticed this warning, but it seems to say that the 
DragonEgg plugin that you're using with GCC wants a newer version of 
GCC.  You might want to try using the Dragonegg plugin with GCC 4.5.4 or 

-- John T.

More information about the llvm-dev mailing list