Hotspot not building on Solaris SPARC

Azeem Jiva azeem.jiva at oracle.com
Thu Nov 29 14:59:30 PST 2012


Sorry to be more clear, I see that swap() takes both an Address and 
Register and that offset has a default of zero if not provided (which is 
true in this case).  I'm not sure why this is happening though.   I'm 
hesitant to add a swap that takes just an Address and Register since 
this is old code, and has compiled before :)


On 11/29/2012 04:36 PM, Azeem Jiva wrote:
> I'm trying to build HotSpot on Solaris SPARC, and see the following 
> error from a fresh pull from the trunk:
>
> "/net/pae-t5two-04/root/hsx/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp", 
> line 3469: Error: Could not find a match for Assembler::swap(Address, 
> RegisterImpl*) needed in LIR_Assembler::atomic_op(LIR_Code, 
> LIR_OprDesc*, LIR_OprDesc*, LIR_OprDesc*, LIR_OprDesc*).
> "/net/pae-t5two-04/root/hsx/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp", 
> line 3476: Error: Could not find a match for Assembler::swap(Address, 
> RegisterImpl*) needed in LIR_Assembler::atomic_op(LIR_Code, 
> LIR_OprDesc*, LIR_OprDesc*, LIR_OprDesc*, LIR_OprDesc*).
> 2 Error(s) detected.
> gmake[2]: *** [c1_LIRAssembler_sparc.o] Error 2
> gmake[2]: *** Waiting for unfinished jobs....
> "/net/pae-t5two-04/root/hsx/src/cpu/sparc/vm/sparc.ad", line 7349: 
> Error: Could not find a match for Assembler::swap(Address, 
> RegisterImpl*) needed in xchgINode::emit(CodeBuffer&, PhaseRegAlloc*) 
> const.
> "/net/pae-t5two-04/root/hsx/src/cpu/sparc/vm/sparc.ad", line 7371: 
> Error: Could not find a match for Assembler::swap(Address, 
> RegisterImpl*) needed in xchgNNode::emit(CodeBuffer&, PhaseRegAlloc*) 
> const.
> 2 Error(s) detected.
> gmake[2]: *** [ad_sparc.o] Error 2
>
> Ideas?
>

-- 
Azeem Jiva
@javawithjiva



More information about the hotspot-compiler-dev mailing list