Integrated: 8317257: RISC-V: llvm build broken

Vladimir Kempik vkempik at openjdk.org
Fri Sep 29 05:18:13 UTC 2023


On Thu, 28 Sep 2023 15:37:54 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

> Please review this small fix to make hotspot compilable with clang on risc-v.
> It supposed to fix next error:
> 
> /home/user/openjdk/jdk/src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp:1518:10: error: call to member function 'null_check' is ambiguous
>       __ null_check(obj);
>       ~~~^~~~~~~~~~
> /home/user/openjdk/jdk/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:238:16: note: candidate function
>   virtual void null_check(Register reg, int offset = -1);
>                ^
> /home/user/openjdk/jdk/src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.hpp:109:8: note: candidate function
>   void null_check(Register r, Label *Lnull = nullptr) { MacroAssembler::null_check(r); }
>        ^
> 1 error generated.

This pull request has now been integrated.

Changeset: bd7bb67d
Author:    Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bd7bb67d8f2a6a6bda43b6e2443099574151a7dc
Stats:     2 lines in 2 files changed: 0 ins; 0 del; 2 mod

8317257: RISC-V: llvm build broken

Reviewed-by: fyang

-------------

PR: https://git.openjdk.org/jdk/pull/15965


More information about the hotspot-compiler-dev mailing list