[riscv-port-jdk17u:riscv-port] Withdrawn: 8297644: RISC-V: Compilation error when shenandoah is disabled
Fei Yang
fyang at openjdk.org
Wed Mar 22 08:15:12 UTC 2023
On Wed, 22 Mar 2023 07:43:11 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Please help review this backport to riscv-port-jdk17u.
> Backport of [JDK-8297644](https://bugs.openjdk.org/browse/JDK-8297644). Applies cleanly.
> The compilation failed before the modification as follows:
>
> Creating support/modules_libs/java.base/server/libjvm.so from 975 file(s)
> /home/zifeihan/riscv-port-jdk17u/src/hotspot/cpu/riscv/riscv.ad: In member function 'virtual void MachPrologNode::emit(CodeBuffer&, PhaseRegAlloc*) const':
> /home/zifeihan/riscv-port-jdk17u/src/hotspot/cpu/riscv/riscv.ad:1351:7: error: invalid use of incomplete type 'class BarrierSetAssembler'
> 1351 | bs->nmethod_entry_barrier(&_masm);
> | ^~
> In file included from /home/zifeihan/riscv-port-jdk17u/src/hotspot/share/gc/shared/modRefBarrierSet.hpp:28,
> from /home/zifeihan/riscv-port-jdk17u/src/hotspot/share/gc/shared/cardTableBarrierSet.hpp:29,
> from /home/zifeihan/riscv-port-jdk17u/src/hotspot/cpu/riscv/riscv.ad:960,
> from ad_riscv.cpp:31:
> /home/zifeihan/riscv-port-jdk17u/src/hotspot/share/gc/shared/barrierSet.hpp:36:7: note: forward declaration of 'class BarrierSetAssembler'
> 36 | class BarrierSetAssembler;
> | ^~~~~~~~~~~~~~~~~~~
> ...
> === End of repeated output ===
>
> No indication of failed target found.
> Hint: Try searching the build log for '] Error'.
> Hint: See doc/building.html#troubleshooting for assistance.
>
> make[1]: *** [/home/zifeihan/riscv-port-jdk17u/make/Init.gmk:315: main] Error 2
> make: *** [/home/zifeihan/riscv-port-jdk17u/make/Init.gmk:186: default] Error 2
>
> Compile normally after fix.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/riscv-port-jdk17u/pull/22
More information about the riscv-port-dev
mailing list