Skip to content
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

Enable AIX build with xlc 13.1 #27

Merged
merged 2 commits into from
Aug 28, 2018

Conversation

keithc-ca
Copy link
Member

Define JNIEXPORT and JNIIMPORT for xlc version 13.1 or newer. Without this, almost no symbols are exported from shared libraries due to use of -qvisibility=hidden as specified in make/lib/LibCommon.gmk. The symptoms are reported in eclipse-openj9/openj9#2468.

Unfortunately, this encounters a bug in xlc: it fails to parse what seems to be reasonable code. A workaround is required in just one place: src/java.base/share/native/libjimage/NativeImageBuffer.cpp.

This is a replay of ibmruntimes/openj9-openjdk-jdk11#15.

Copy link
Contributor

@andrew-m-leonard andrew-m-leonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andrew-m-leonard andrew-m-leonard merged commit 9cd3bc2 into ibmruntimes:openj9-jdk Aug 28, 2018
@keithc-ca keithc-ca deleted the aix branch August 28, 2018 11:43
dnakamura pushed a commit to dnakamura/openj9-openjdk-jdk that referenced this pull request Aug 30, 2021
Access nonce only when non-null
jasonkatonica pushed a commit to jasonkatonica/openj9-openjdk-jdk that referenced this pull request Mar 17, 2023
Update the type of signature in NativeCrypto.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants