[jdk11u-dev] RFR: 8224796: C code is not compiled correctly due to undefined "i386" [v2]
Vladimir Petko
vpetko at openjdk.org
Sun Jan 25 19:30:51 UTC 2026
> openjdk 11 had [JDK-8224087](https://bugs.openjdk.org/browse/JDK-8224087) backported. This broke x86 hotspot serviceability due to undefined `i386`:
>
> java.lang.UnsatisfiedLinkError: 'long[] sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet0(int)'
> at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet0(Native Method)
> at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(LinuxDebuggerLocal.java:560)
> at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:175)
>
>
>
> $objdump -t build/bootcycle-build/jdk/lib/libsaproc.so | grep getThreadIntegerRegisterSet0
> $
>
>
> This backport of JDK-8224796 fixes C compilation:
>
>
> $ objdump -t ~/libsaproc.so | grep getThreadInteger
> 00003260 g F .text 00000192 Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0
>
>
> Note: unrelated test failure of macosx serviceability, e.g. see https://github.com/openjdk/jdk11u-dev/pull/3136
Vladimir Petko has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'openjdk:master' into backport-vpa1977-b71c30f1-master
- Backport b71c30f1b80def5f940ee3db75916c9c6202a05f
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/3138/files
- new: https://git.openjdk.org/jdk11u-dev/pull/3138/files/f62061a2..f6769689
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3138&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3138&range=00-01
Stats: 1091 lines in 36 files changed: 970 ins; 35 del; 86 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3138.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3138/head:pull/3138
PR: https://git.openjdk.org/jdk11u-dev/pull/3138
More information about the jdk-updates-dev
mailing list