8000 Arguments after struct messed up in native on libffi/Aarch64 · Issue #750 · libffi/libffi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Arguments after struct messed up in native on libffi/Aarch64 #750
Open
@ChengJin01

Description

@ChengJin01

System Details

Darwin Kernel Version 20.5.0 /arm64

$ clang --version
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: arm64-apple-darwin20.5.0

Problems Description

The latest code of libffi/Aarch64 at https://github.com/libffi/libffi/tree/master/src/aarch64 was integrated to our code at https://github.com/eclipse-openj9/openj9/tree/master/runtime/libffi/aarch64 to support JNI call to native on macOS/Aarch64 which works good in the majority of tests except test cases with the mixed type arguments, including primitives, struct and function pointers, in which the arguments after struct were messed up (please see eclipse-openj9/openj9#16336 (comment) for details).

Here's one of the failing test cases at sample.c.txt.

Assuming libffi/Aarch64 should work for both macOS and iOS, I am wondering whether anybody here can help us to figure out what happened in such case (more failing test cases can be found at eclipse-openj9/openj9#16336 (comment) and eclipse-openj9/openj9#16336 (comment)).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0