-
Notifications
You must be signed in to change notification settings - Fork 738
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
Turn libffi into a static link library #1900
Conversation
jenkins compile all jdk8 |
Marking this as WIP due to extra testing required - particularly on zOS. |
The version of libffi used in OpenJ9 is only linked by the VM library, so make libffi a static link library instead of dynamic to avoid issues where another version of libffi has already been loaded into the process. Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
Tested as much as possible with the current infra issues. Z/OS not tested at all, but there's no reason to think it's any different than the rest. |
There is an awful and fragile workaround here which will hopefully only live for a few days. The open builds scripts need to stop referring to the ffi shared library in any way - at that point I will remove the workaround. |
jenkins test sanity all jdk8 |
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.
lgtm
This is inline with changes already made to UMA. See eclipse-openj9#1900 Signed-off-by: Devin Nakamura <devinn@ca.ibm.com>
The version of libffi used in OpenJ9 is only linked by the VM library,
so make libffi a static link library instead of dynamic to avoid issues
where another version of libffi has already been loaded into the
process.
Signed-off-by: Graham Chapman graham_chapman@ca.ibm.com