RFR: 8309258: RISC-V: Add riscv_hwprobe syscall [v3]
Robbin Ehn
rehn at openjdk.org
Thu Jun 15 06:30:58 UTC 2023
On Thu, 15 Jun 2023 05:52:36 GMT, Fei Yang <fyang at openjdk.org> wrote:
> I tried to do a native release build on HiFive Unmatched board with the latest version and unfortunately I got SIGILL problem:
>
> ```
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGILL (0x4) at pc=0x0000003f9053eb34, pid=64268, tid=64273
> #
> # JRE version: (22.0) (build )
> # Java VM: OpenJDK 64-Bit Server VM (22-internal-adhoc.fyang.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-riscv64)
> # Problematic frame:
> #
> [error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x0000003f9df03b0e]
> # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/fyang/jdk/make/core.64268)
> #
> #
>
> --------------- S U M M A R Y ------------
>
> Command Line: -Xms64M -Xmx1600M --add-exports=java.base/jdk.internal.module=ALL-UNNAMED build.tools.jigsaw.AddPackagesAttribute /home/fyang/jdk/build/linux-riscv64-server-release/jdk
>
> Host: RISCV64, 4 cores, 15G, Ubuntu 22.04.2 LTS
> Time: Thu Jun 15 13:11:35 2023 CST elapsed time: 0.209789 seconds (0d 0h 0m 0s)
> ```
Thanks, it seem most likely I have a bug and enabled an extension not supported.
I guess you are not running a kernel with hw_probe.
If possible can you run with -XX:+PrintFlagsFinal ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14445#issuecomment-1592442006
More information about the hotspot-dev
mailing list