RFR: Add support for AIX in build process [v3]

Jorn Vernee jvernee at openjdk.org
Thu Dec 4 10:15:45 UTC 2025


On Thu, 4 Dec 2025 07:57:20 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

>> Also, hard-coding paths the the build directories in the production code seems fishy. It also shouldn't be needed. If the library is properly included in the runtime image, that's where it can be found, and I'm expecting the call to `libraryLookup` to succeed.
>> 
>> If it doesn't then there's something wrong with the runtime image. You might want to test grabbing the .jmod file from the build, and creating another runtime image with it, and then trying to access some of the jextract API classes in e.g. a jshell session, to see if the library can be loaded.
>
> @JornVernee  not sure if  there a way to fetch clang version

I'm confused, that patch has a test that shows loading a library through `System.loadLibrary` working, and I remember seeing those patches in the JDK, and thought `loadLibrary` support was working on AIX as well now. Why doesn't that work for clang? Is it possible to change the way you're building clang to not use an archive member?

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

PR Review Comment: https://git.openjdk.org/jextract/pull/297#discussion_r2588388101


More information about the jextract-dev mailing list