RFR: JDK-8317799 : AIX PPC64: FFI symbol lookup doesn't find symbols [v7]
suchismith1993
duke at openjdk.org
Wed Nov 22 13:36:14 UTC 2023
On Wed, 22 Nov 2023 06:50:07 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> suchismith1993 has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Fix Typos
>> - Remove unnecessary includes
>
> Note that on Windows we also have a lookup mechanism on the Java side: https://github.com/openjdk/jdk/blob/2c31ca525b1cd70c3dfcb0463c8c984bdd7c886a/src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java#L159
>
> On Windows we need to load the global array, and then grab functions from the array. Why isn't that needed on AIX? Is `dlsym` able to find the statically linked functions as well?
Thank you @JornVernee @magicus @dholmes-ora @TheRealMDoerr @erikj79
Thanks for enocuraging to work towards a better solution which enabled me to understand and explore windows code as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16414#issuecomment-1822780431
More information about the build-dev
mailing list