Skip to content

Add libs for OpenXL compiler on AIX - #20299

Merged
zl-wang merged 1 commit into
eclipse-openj9:masterfrom
ishitaR88:openxl_part1
Oct 4, 2024
Merged

Add libs for OpenXL compiler on AIX#20299
zl-wang merged 1 commit into
eclipse-openj9:masterfrom
ishitaR88:openxl_part1

Conversation

@ishitaR88

Copy link
Copy Markdown
Contributor

Adds necessary libraries nedded by
linker commands for openxl compiler on AIX architechture.

This commit adds necessary libraries nedded by
linker commands for openxl compiler on AIX architechture.

Signed-off-by: Ishita Ray <ishita.ray@ibm.com>

@zl-wang zl-wang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

as stage 1 of OpenXL change, this is safe to do (before we can switch to using OpenXL).

@zl-wang

zl-wang commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

jenkins test sanity aix jdk21

@zl-wang
zl-wang merged commit d9119e2 into eclipse-openj9:master Oct 4, 2024
j9stackmap
j9pool
j9hookable
if(DEFINED OMR_OS_AIX AND DEFINED CMAKE_C_COMPILER_IS_OPENXL)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think the set of libraries should be conditional. If they're necessary for any toolchain, the dependencies should be applied to all.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just want to understand clearly, by all you mean all platforms? I never tested this config for zos, so to be safe I am adding them only for AIX platform.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If the code actually depends on names available only in the libraries that were added for OpenXL, then I expect it was just wrong to omit them in the first place. Adding them only for OpenXL just continues the error. Of course, we would have to verify that the changes don't break other platforms, but I think the risk of that is very low.

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.

3 participants