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

suchismith1993 duke at openjdk.org
Sat Nov 18 08:06:32 UTC 2023


On Fri, 17 Nov 2023 15:39:49 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The syslookup.c solution for Windows looks interesting. While it is still a hard-coded list, at least you will get compile time errors if the include file changes to mismatch with the symbols...

I don't think AIX has a way to do inline exporting of symbols similar to windows using __declspec. 
The only way to avoid an external list is to actually call the functions in the lookup file, which I don't think maybe the right solution. 
I can work towards trimming down the list and documenting it somewhere, if that is in agreement from everyone. 
I will confirm on an alternate solution if any, in the meanwhile after consulting with respective teams.

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

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


More information about the build-dev mailing list