Error building hotspot with shark/zero
    Christian Thalinger 
    christian.thalinger at oracle.com
       
    Mon Feb  3 16:08:40 PST 2014
    
    
  
I haven’t tried LLVM 3.4 yet (compiling it right now) but it seems some method signatures have changed. Let’s see if I can make it work...
On Feb 3, 2014, at 11:50 AM, Neale Ferguson <neale at sinenomine.net> wrote:
> 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