[ 
https://issues.apache.org/jira/browse/CASSANDRA-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230886#comment-17230886
 ] 

Joey Lynch commented on CASSANDRA-16212:
----------------------------------------

I think the best time for a major JNA bump is before GA of 4.0, so +1 to mck's 
proposed patch (bump in 4.0, provide workaround in previous versions of 
upgrading the library yourself).

I'm legitimately surprised that the change fromĀ 
{noformat}
 Native.register("c"); {noformat}
to
{noformat}
 Native.register(com.sun.jna.NativeLibrary.getInstance("c", 
Collections.emptyMap())) {noformat}
in the backport to 3.11.4 would have caused crashes on any version of JNA. That 
is very odd, if I get a second I'll try to dig into why that appears to have 
broken glibc loading on arm.

> Cassandra version above 3.11.0 failing for ARM64 
> -------------------------------------------------
>
>                 Key: CASSANDRA-16212
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16212
>             Project: Cassandra
>          Issue Type: Task
>          Components: Local/Other
>            Reporter: odidev
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 4.0.x
>
>         Attachments: crash.txt
>
>
> Cassandra versions above 3.11.0 are failing on ARM64 platform with below 
> issue:
> java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna3214742498288082263.tmp: 
> *Error loading shared library ld-linux-aarch64.so.1: No such file or 
> directory (needed by /tmp/jna-3506402/jna3214742498288082263.tmp)*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to