RFR: 7904115: Fix for AIX test case failures due to incorrect alignment for double and pointer [v5]
Varada M
varadam at openjdk.org
Fri Dec 19 15:32:45 UTC 2025
On Thu, 18 Dec 2025 12:54:22 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Varada M has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - 7904115: Fix for AIX test case failures due to incorrect alignment for double and pointer
>> - restoring the changes
>
> src/main/java/org/openjdk/jextract/impl/StructBuilder.java line 463:
>
>> 461: boolean isStruct = scoped.kind() == Scoped.Kind.STRUCT;
>> 462:
>> 463: long scopedTypeAlign = ClangAlignOf.getOrThrow(scoped) / 8;
>
> I think the changes in this class should be reverted while we wait for a more general fix. If your goal is to allow support for AIX with natural alignment, let this PR do just that -- other issues will be addressed in followup changes.
Sure @mcimadamore. I have reverted the changes
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/296#discussion_r2635456234
More information about the jextract-dev
mailing list