Skip to content

P000: The latest version of jna product already supports 16kb, but it will crash on 16kb devices #1655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shn1233 opened this issue Mar 4, 2025 · 1 comment

Comments

@shn1233
Copy link

shn1233 commented Mar 4, 2025

The jna library already supports 16kb,
Image
but at runtime it will map the 16kb rw segment to a r segment, causing a crash
Image

Image

Help!!!According to experience, need to add the link parameter -Wl,-z,common-page-size=16384 to correctly map it. Can you release the package as soon as possible? Our application urgently needs jna 16kb support

@matthiasblaesing
Copy link
Member

Duplicate of #1647

@matthiasblaesing matthiasblaesing marked this as a duplicate of #1647 Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants