32 bit build broken on Linux x86

Stanislav Smirnov stanislav.smirnov at oracle.com
Wed Jan 25 15:06:26 UTC 2017


Hi Roland, any update?

Best regards,
Stanislav Smirnov





> On 19 Jan 2017, at 13:32, Tobias Hartmann <tobias.hartmann at oracle.com> wrote:
> 
> Hi Roland,
> 
> I just noticed that your value type calling convention change broke the 32 bit build (see below).
> http://hg.openjdk.java.net/valhalla/valhalla/hotspot/rev/6b6d84008c49
> 
> Could you please have a look?
> 
> Thanks,
> Tobias
> 
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp:703:6: error: prototype for 'void SharedRuntime::gen_i2c_adapter(MacroAssembler*, int, int, const BasicType*, const VMRegPair*)' does not match any in class 'SharedRuntime'
> void SharedRuntime::gen_i2c_adapter(MacroAssembler *masm,
>      ^
> In file included from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/gc/shared/collectedHeap.inline.hpp:35:0,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/oops/oop.inline.hpp:31,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/oops/markOop.inline.hpp:30,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/precompiled/precompiled.hpp:150:
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/runtime/sharedRuntime.hpp:482:15: error: candidate is: static void SharedRuntime::gen_i2c_adapter(MacroAssembler*, int, const GrowableArray<SigEntry>&, const VMRegPair*)
>   static void gen_i2c_adapter(MacroAssembler *_masm,
>               ^
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp:915:22: error: prototype for 'AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler*, int, int, const BasicType*, const VMRegPair*, AdapterFingerPrint*)' does not match any in class 'SharedRuntime'
> AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler *masm,
>                      ^
> In file included from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/gc/shared/collectedHeap.inline.hpp:35:0,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/oops/oop.inline.hpp:31,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/oops/markOop.inline.hpp:30,
>                 from /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/precompiled/precompiled.hpp:150:
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/share/vm/runtime/sharedRuntime.hpp:475:31: error: candidate is: static AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler*, int, const GrowableArray<SigEntry>&, const VMRegPair*, AdapterFingerPrint*, AdapterBlob*&)
>   static AdapterHandlerEntry* generate_i2c2i_adapters(MacroAssembler *_masm,
>                               ^
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp:559:13: error: 'void gen_c2i_adapter(MacroAssembler*, int, int, const BasicType*, const VMRegPair*, Label&)' defined but not used [-Werror=unused-function]
> static void gen_c2i_adapter(MacroAssembler *masm,
>             ^
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp:685:13: error: 'void move_i2c_double(MacroAssembler*, XMMRegister, Register, int)' defined but not used [-Werror=unused-function]
> static void move_i2c_double(MacroAssembler *masm, XMMRegister r, Register saved_sp, int ld_off) {
>             ^
> /scratch/opt/jprt/T/P1/080644.tohartma/s/hotspot/src/cpu/x86/vm/sharedRuntime_x86_32.cpp:690:13: error: 'void range_check(MacroAssembler*, Register, Register, address, address, Label&)' defined but not used [-Werror=unused-function]
> static void range_check(MacroAssembler* masm, Register pc_reg, Register temp_reg,
>             ^
> cc1plus: all warnings being treated as errors



More information about the valhalla-dev mailing list