[LLVMdev] VMkit compilation error
poobahtim at gmail.com
Mon Oct 22 12:49:16 PDT 2012
I'm trying to compile VMKit (and eventually J3) with LLVM/Clang head.
There seem to be some recent commits (starting with roughly 165505)
that break the VMKit compile with the following errors:
$ make ENABLE_OPTIMIZED=1
llvm: Constructing LLVMBuild project information.
make: Entering directory `.../vmkit/lib/vmkit/StaticGCPass'
llvm: Compiling StaticGCPass.cpp for Release+Asserts build (PIC)
llvm: Linking Release+Asserts Loadable Module StaticGCPass.so
llvm: Compiling StaticGCPass.cpp for Release+Asserts build (bytecode)
llvm: Compiling StaticGCPass.ll to StaticGCPass.bc for
Release+Asserts build (bytecode)
llvm: Building Release+Asserts Bytecode Archive libStaticGCPass.bca
make: Leaving directory `.../vmkit/lib/vmkit/StaticGCPass'
make: Entering directory `.../vmkit/lib/vmkit/StaticGCPrinter'
llvm: Compiling VmkitGCPrinter.cpp for Release+Asserts build (PIC)
VmkitGCPrinter.cpp: In member function ‘virtual void
VmkitGCPrinter.cpp:292:63: error: no matching function for call to
VmkitGCPrinter.cpp:292:63: note: candidate is:
unsigned int llvm::DataLayout::getPointerSize(unsigned int) const
candidate expects 1 argument, 0 provided
/bin/rm: cannot remove
No such file or directory
make: *** [.../vmkit/lib/vmkit/StaticGCPrinter/Release+Asserts/VmkitGCPrinter.o]
make: Leaving directory `.../vmkit/lib/vmkit/StaticGCPrinter'
make: *** [all] Error 1
I realize these are extremely recent commits, but I thought I'd ask
when the last time someone was able to successfully compile vmkit was,
to save myself the time of going searching.
More information about the llvm-dev