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

JDK11 build failure on AIX (HotSpot and OpenJ9) #456

Closed
sxa opened this issue Aug 21, 2018 · 6 comments
Closed

JDK11 build failure on AIX (HotSpot and OpenJ9) #456

sxa opened this issue Aug 21, 2018 · 6 comments
Labels
bug Issues that are problems in the code as reported by the community
Milestone

Comments

@sxa
Copy link
Member

sxa commented Aug 21, 2018

Creating this to ensure it's on the adoptopenjdk radar - issue is related to the sigaction symbol and is documented more fully at eclipse-openj9/openj9#2468

@sxa sxa added the bug Issues that are problems in the code as reported by the community label Aug 21, 2018
@karianna karianna added the reported to Eclipse OpenJ9 Issues that have been reported upstream to the OpenJ9 group label Aug 21, 2018
@keithc-ca
Copy link
Contributor

It's not specific to jsig. OpenJDK started using xlc's -qvisibility=hidden option (except with xlc version 12.1), but without a change to JNIEXPORT so that the link option -bexpall doesn't do what is needed.

I have a working fix, but it involves changing one source file to workaround what appears to be an xlc bug.

@sxa
Copy link
Member Author

sxa commented Aug 29, 2018

Full fix also required removing -lpthread from the configure options we specify in our jenkins jobs. Now working on OpenJ9 builds.

@karianna
Copy link
Contributor

Is this fixed for OpenJ9 and Hotspot builds now?

@sxa sxa removed the reported to Eclipse OpenJ9 Issues that have been reported upstream to the OpenJ9 group label Aug 31, 2018
@sxa
Copy link
Member Author

sxa commented Aug 31, 2018

Not fully - there's a second error that is fixed in OpenJ9 but not HotSpot - I've removed the reported with upstream team now as the upstream team was OpenJ9 who have fixed their side :-)

ERROR: Build failed for targets 'images test-image' in configuration 'aix-ppc64-normal-server-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target support_native_java.base_libjava_BUILD_LIBJAVA_link:
ld: 0711-224 WARNING: Duplicate symbol: .jio_snprintf
ld: 0711-224 WARNING: Duplicate symbol: jio_snprintf
ld: 0711-224 WARNING: Duplicate symbol: .jio_fprintf
ld: 0711-224 WARNING: Duplicate symbol: .isnan
ld: 0711-224 WARNING: Duplicate symbol: jio_fprintf
ld: 0711-344 See the loadmap file /ramdisk0/build/workspace/openjdk11_build_ppc64_aix/openjdk/build/aix-ppc64-normal-server-release/support/native/java.base/libjava/libjava.loadmap for more information.
ld: 0711-317 ERROR: Undefined symbol: .VerifyFixClassname
ld: 0711-317 ERROR: Undefined symbol: .VerifyClassname
ld: 0711-317 ERROR: Undefined symbol: .VerifyClass
ld: 0711-317 ERROR: Undefined symbol: .VerifyClassForMajorVersion

NOTE: I have created #461 to cover doing a check of our current configure flags.

@karianna karianna added this to the 2.x.x milestone Sep 29, 2018
@karianna karianna removed this from the 2.x.x milestone Jan 10, 2019
@M-Davies
Copy link

This looks to be resolved now. @karianna can this be closed?

@karianna
Copy link
Contributor

This looks to be resolved now. @karianna can this be closed?

AIX Builds are green for Hotspot and JDK 11 so yes.

@karianna karianna added this to the May 2020 milestone May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community
Projects
None yet
Development

No branches or pull requests

4 participants