How to build a stressapptest cmd for android device that supports arm64-v8a abi ?

172 views
Skip to first unread message

Jason Qin

unread,
Jun 25, 2023, 11:42:46 PM6/25/23
to stressapptest-discuss
I want to compile a command to run on an android device that supports arm64-v8a abi inorder to create a realistic high memory load situation, but the command compiled according to the prompt cannot be executed on the android device, it seems that the command does not support arm64. What shoud I do next ?

➜  ~ adb shell
xagapro:/ $ ./data/local/tmp/stressapptest
/system/bin/sh: ./data/local/tmp/stressapptest: not executable: 64-bit ELF file
1|xagapro:/ $ file ./data/local/tmp/stressapptest
./data/local/tmp/stressapptest: ELF shared object, 64-bit LSB x86-64, dynamic (/lib64/ld-linux-x86-64.so.2), BuildID=2d87d8714b8e8d0cf44dc678022ea08cd04c2e2c, not stripped
Reply all
Reply to author
Forward
0 new messages