[jdk11u-dev] Integrated: 8224796: C code is not compiled correctly due to undefined "i386"

Vladimir Petko vpetko at openjdk.org
Wed Jan 28 15:50:39 UTC 2026


On Tue, 13 Jan 2026 21:03:19 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

This pull request has now been integrated.

Changeset: cae001cd
Author:    Vladimir Petko <vpetko at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/cae001cd5f9688257a23609819643a629246f5a8
Stats:     10 lines in 2 files changed: 4 ins; 0 del; 6 mod

8224796: C code is not compiled correctly due to undefined "i386"

Backport-of: b71c30f1b80def5f940ee3db75916c9c6202a05f

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

PR: https://git.openjdk.org/jdk11u-dev/pull/3138


More information about the jdk-updates-dev mailing list