Error building hotspot with shark/zero
Neale Ferguson
neale at sinenomine.net
Mon Feb 3 11:50:59 PST 2014
Hi,
I'm attempting build openJDK7 with SHARK/ZERO and am encountering the following when using llvm-3.4:
In file included from /home/neale/openjdk7/hotspot/src/share/vm/shark/llvmValue.hpp:30,
from /home/neale/openjdk7/hotspot/src/share/vm/shark/sharkBlock.cpp:29:
/home/neale/openjdk7/hotspot/src/share/vm/shark/sharkContext.hpp: In member function 'llvm::Constant* SharkContext::get_external(const char*, const llvm::FunctionType*)':
/home/neale/openjdk7/hotspot/src/share/vm/shark/sharkContext.hpp:72: error: invalid conversion from 'const llvm::FunctionType*' to 'llvm::FunctionType*'
/home/neale/openjdk7/hotspot/src/share/vm/shark/sharkContext.hpp:72: error: initializing argument 2 of 'llvm::Constant* llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
line 72 looks like:
llvm::Constant* get_external(const char* name,
const llvm::FunctionType* sig) {
return module()->getOrInsertFunction(name, sig);
}
Before I go too far with this I thought I'd find out if this was a known issue. I note there were other issues getting this far, like where 3.4 keeps its include files (in /usr/include/llvm/IR/...) so there are probably other changes of significance.
Neale
More information about the hotspot-dev
mailing list