Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Amalgamation for android arm64 was built successfully but failed to run in device  #8151

Description

@zhenglaizhang

Environment info

Operating System: Arch Linux (build host)
Targeting Device: Android 7.0 with arm64-v8a CPU

Compiler:

  • Android toolchain produced from python make_standalone_toolchain.py --arch arm64 --install-dir /tmp/my-android-toolchain --stl=libc++
  • Latest NDK (15.2) & NDK 14, both run failed with same error
  • export CC=aarch64-linux-android-clang
  • export CXX=aarch64-linux-android-clang++

MXNet version: installed from source:

MXNet commit hash (git rev-parse HEAD):8a4221bca2ddd4fa05840f7951a7216775021237

Error Message:

When try to run on device, following exception was thrown.

Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZTVN4dmlc2io23IndexedRecordIOSplitterE" referenced by "/data/app/com.test.face-2/lib/arm64/libmxnet_predict.so"...
                                                                                       at java.lang.Runtime.loadLibrary0(Runtime.java:994)
                                                                                       at java.lang.System.loadLibrary(System.java:1533)
                                                                                       at org.dmlc.mxnet.Predictor.<clinit>(Predictor.java:28)

What have you tried to solve it?

  1. with c++fit it shows as below:
% c++filt _ZTVN4dmlc2io23IndexedRecordIOSplitterE
vtable for dmlc::io::IndexedRecordIOSplitter

Want to know if anybody have succeeded in building the arm64 arch for android with latest source. Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions