-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8320005: Allow loading of shared objects with .a extension on AIX #473
8320005: Allow loading of shared objects with .a extension on AIX #473
Conversation
👋 Welcome back sroy! A progress list of the required criteria for merging this PR into |
@suchismith1993 This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jerboaa) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
hotspot/src/os/aix/vm/os_aix.cpp
Outdated
@@ -1452,7 +1452,7 @@ bool os::dll_address_to_library_name(address addr, char* buf, | |||
|
|||
// Loads .dll/.so and in case of error it checks if .dll/.so was built | |||
// for the same architecture as Hotspot is running on. | |||
void *os::dll_load(const char *filename, char *ebuf, int ebuflen) { | |||
static void* dll_load(const char *filename, char *ebuf, int ebuflen) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this is correct? The JDK 11u change renamed this to dll_load_library
. Does this even work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jerboaa Still working on it. 11 and 17 backports were very much clean and had no issues. For some reason jdk8 compilation is failing in my local. So hopefully i will get it working soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jerboaa thanks for the catch. That might be causing it. I had to make changes in a file located in different location , so the backport didn't apply clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jerboaa I see the certificate tests failing in the tests. Are these due to some other issue ? I do not see how my fix would cause a certificate issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@suchismith1993 Please merge latest master, those tests should be on the problem list by now. See https://bugs.openjdk.org/browse/JDK-8328809
beb289f
to
79f53bb
Compare
@suchismith1993 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
|
/approval request This back port is required to handle dynamic libraries of AIX. |
@suchismith1993 |
/integrate |
@suchismith1993 |
/sponsor |
@jerboaa @suchismith1993 Pushed as commit c1c8064. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hmmm, this seems to have travelled from trunk to 8u very quickly. This change is not in any released version as yet. I think it would have been better to wait until at least the release of 22.0.2. I guess at least the change is isolated to AIX only, but I would make sure this is tested well before the July releases. |
Hi @gnu-andrew What is the usual timeline for a fix to go to the release branch from u-dev branch ? |
Hi all,
This pull request contains a backport of commit e85355ad from the openjdk/jdk repository.
The commit being backported was authored by Suchismith Roy on 27 Feb 2024 and was reviewed by Amit Kumar, Thomas Stuefe, Joachim Kern and Martin Doerr.
Thanks!
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/473/head:pull/473
$ git checkout pull/473
Update a local copy of the PR:
$ git checkout pull/473
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/473/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 473
View PR using the GUI difftool:
$ git pr show -t 473
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/473.diff
Webrev
Link to Webrev Comment