[jdk11u-dev] RFR: 8224796: C code is not compiled correctly due to undefined "i386" [v2]
duke
duke at openjdk.org
Wed Jan 28 10:30:55 UTC 2026
On Sun, 25 Jan 2026 19:30:51 GMT, Vladimir Petko <vpetko at openjdk.org> wrote:
>> 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
@vpa1977
Your change (at version f67696891af5417b30902cb02aeceb081ce96c29) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3138#issuecomment-3810435941
More information about the jdk-updates-dev
mailing list