-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Amalgamation for android arm64 was built successfully but failed to run in device #8151
Comments
And i checked the so, the symbol is indeeded undefined:
|
Please have a look at this PR: I added an Android arm64 build file: Dockerfile.build.android.arm64 I think we should remove the amalgamation and rely on the build system for cross platform builds as we discussed before. @zhenglaizhang can you provide more details on how are you running on the device? |
@larroy thanks for quick response! just with following code at android side.
Now as i checked, it's all because the generated Agree with you, amalgamation might be out of dated, and cross platform builds should be better, I will take some time tomorrow to try your dockerfile android arm64 build, hope it will works. thanks for your helpful info -:) |
@zhenglaizhang can you share the code of the project? |
@larroy Hi,sorry for late response, thanks for the help, with the help from other thread, #4783 i added missing header files and built the so successfully. |
@zhenglaizhang you have to also add indexedRecordIOSplitter into mxnet_predict0.cc |
@novioleo yeah, you are right, that's what i did to solve the problem. thanks for the info -:) |
@zhenglaizhang i think this issue had been solved,can you close it? |
Close as the issue was resolved, thanks all for the help! |
Environment info
Operating System: Arch Linux (build host)
Targeting Device: Android 7.0 with arm64-v8a CPU
Compiler:
python make_standalone_toolchain.py --arch arm64 --install-dir /tmp/my-android-toolchain --stl=libc++
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.
What have you tried to solve it?
c++fit
it shows as below:Want to know if anybody have succeeded in building the arm64 arch for android with latest source. Thanks in advance.
The text was updated successfully, but these errors were encountered: