[riscv-port-jdk11u:riscv-port] RFR: 8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule

Dingli Zhang dzhang at openjdk.org
Thu Aug 8 08:20:16 UTC 2024


Please review this backport to riscv-port-jdk11u.
Backport of [JDK-8301313](https://bugs.openjdk.org/browse/JDK-8301313).
The original patch cannot be directly applied because of the line number, but there are no other additional changes.

This PR will solve the following problem:
We noticed that slowdebug builds failed on openEuler build system due to bad AD files after upgrading to version 11.0.24-ga.
The issue can be reproduced on LPi4A using the riscv-port branch with the following command:

bash configure \
--with-boot-jdk=$HOME/jdk-bin/openjdk-11/jdk \
--disable-warnings-as-errors \
--with-debug-level=slowdebug \
--with-native-debug-symbols=internal
make images

Corresponding log file:
https://cr.openjdk.org/~dzhang/riscv-port-jdk11u/8301313/build.log
https://cr.openjdk.org/~dzhang/riscv-port-jdk11u/8301313/configure.log
https://cr.openjdk.org/~dzhang/riscv-port-jdk11u/8301313/hs_err_pid395981.log

Testing:
- [x] Native slowdebug build on LPi4A
- [ ] Tier1 passed w/o new failure on LPi4A(release)

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

Commit messages:
 - 8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule

Changes: https://git.openjdk.org/riscv-port-jdk11u/pull/25/files
  Webrev: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=25&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301313
  Stats: 38 lines in 1 file changed: 34 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/riscv-port-jdk11u/pull/25.diff
  Fetch: git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/25/head:pull/25

PR: https://git.openjdk.org/riscv-port-jdk11u/pull/25


More information about the riscv-port-dev mailing list