[LLVMdev] vmkit and llvm 2.8

Zoe Wolk zoewolk at gmail.com
Mon Jun 28 15:54:26 PDT 2010


Hi All,

Has vmkit been updated and tested with LLVM 2.8?
I am unable to build it (llvm builds fine).
There were some errors with Makefile.rules:
$(Verb) $(LLVMAS) -f $(<F) -o - | $(LLC) -march=cpp -cppgen=contents -o $@
(march and cppgen options not recognized).

What I cannot get past is this one (the warnings concern me as well):
...
make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Runtime'
make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'
llvm[3]: Compiling JIT.cpp for Debug build
In file included from JIT.cpp:70:
LLVMRuntime.inc:3: error: stray ‘@’ in program
LLVMRuntime.inc:1: error: expected unqualified-id before ‘.’ token
In file included from JIT.cpp:74:
MMTkInline.inc: In function ‘llvm::Function*
mvm::mmtk_runtime::makeLLVMFunction(llvm::Module*)’:
MMTkInline.inc:24: warning: unused variable ‘PointerTy_2’
MMTkInline.inc:351: warning: unused variable ‘PointerTy_27’
MMTkInline.inc:380: warning: unused variable ‘PointerTy_33’
MMTkInline.inc:395: warning: unused variable ‘PointerTy_36’
MMTkInline.inc:397: warning: unused variable ‘PointerTy_38’
MMTkInline.inc:435: warning: unused variable ‘PointerTy_39’
MMTkInline.inc:442: warning: unused variable ‘PointerTy_43’
MMTkInline.inc:455: warning: unused variable ‘PointerTy_45’
MMTkInline.inc:464: warning: unused variable ‘PointerTy_48’
MMTkInline.inc:477: warning: unused variable ‘PointerTy_50’
MMTkInline.inc:488: warning: unused variable ‘PointerTy_52’
JIT.cpp: In constructor
‘mvm::BaseIntrinsics::BaseIntrinsics(llvm::Module*)’:
JIT.cpp:191: error: ‘makeLLVMModuleContents’ is not a member of
‘mvm::llvm_runtime’
make[3]: *** [/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler/Debug/JIT.o]
Error 1
make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm'
make[1]: *** [Mvm/.makeall] Error 2
make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib'
make: *** [all] Error 1


Thanks
-ZW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100628/760d3c5d/attachment.html>


More information about the llvm-dev mailing list