Skip to content

Conversation

@vpa1977
Copy link

@vpa1977 vpa1977 commented Jan 13, 2026

openjdk 11 had 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 #3136


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8224796 needs maintainer approval

Issue

  • JDK-8224796: C code is not compiled correctly due to undefined "i386" (Bug - P3 - Requested)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3138/head:pull/3138
$ git checkout pull/3138

Update a local copy of the PR:
$ git checkout pull/3138
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3138/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3138

View PR using the GUI difftool:
$ git pr show -t 3138

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3138.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 13, 2026

👋 Welcome back vpetko! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jan 13, 2026

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot changed the title Backport b71c30f1b80def5f940ee3db75916c9c6202a05f 8224796: C code is not compiled correctly due to undefined "i386" Jan 13, 2026
@openjdk
Copy link

openjdk bot commented Jan 13, 2026

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Jan 13, 2026
@vpa1977 vpa1977 marked this pull request as ready for review January 14, 2026 00:31
@openjdk
Copy link

openjdk bot commented Jan 14, 2026

⚠️ @vpa1977 This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Jan 14, 2026
@vpa1977
Copy link
Author

vpa1977 commented Jan 14, 2026

/approval request openjdk 11 had JDK-8224087 backported. This broke x86 hotspot serviceability due to undefined i386 symbol. The backport risk is low - it enables compilation of the missing symbol.

@openjdk
Copy link

openjdk bot commented Jan 14, 2026

@vpa1977
8224796: The approval request has been created successfully.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Jan 14, 2026
@mlbridge
Copy link

mlbridge bot commented Jan 14, 2026

Webrevs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval Requires approval; will be removed when approval is received backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

1 participant