[LLVMdev] vmkit and llvm 2.8

nicolas geoffray nicolas.geoffray at gmail.com
Tue Jun 29 09:47:35 PDT 2010


Hi Zoe,

When configuring llvm, did you add target cpp? Something like:
./configure --enable-targets=x86,cpp or ./configure --enable-targets=all
(default).

The warnings you get on file MMTkInline.inc are normal, it is an
auto-generated file.

Nicolas

On Mon, Jun 28, 2010 at 3:54 PM, Zoe Wolk <zoewolk at gmail.com> wrote:

> 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
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100629/64146191/attachment.html>


More information about the llvm-dev mailing list