RFR: JDK-8317799 : AIX PPC64: FFI symbol lookup doesn't find symbols

Martin Doerr mdoerr at openjdk.org
Fri Nov 17 13:05:31 UTC 2023


On Fri, 17 Nov 2023 12:45:32 GMT, suchismith1993 <duke at openjdk.org> wrote:

> And I still don't understand if this is the list of symbols that are required by our tests, or the complete list of symbols that FFI `defaultLookup` returns to user applications. If it is the latter, then this is sort-of okay as a final solution, but it is the former, I'm stll frowning upon this solution.

I have tried creating own .so libraries and the symbol lookup has worked just like on linux. So, it seems like we need workarounds only for special AIX stuff.

My understanding is that a lot of symbols can be found out of the box because they are in dynamically linked libraries. Only some libraries are special on AIX which don't support dynamic linking and we need this workaround for them.

@suchismith1993: Is this correct?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16414#issuecomment-1816384750


More information about the build-dev mailing list