Environment
- Android 5
- Samsung G5
- Windows Desktop (x64)
- VisualGDB
- ndk-r10d
Use-case
Implement an ADB tool that is linking against "libstagefright.so"
Implementation
- Compile Android Source code ( arm*.* )
- Take the resulting "libstagefright.so"
- Link the ADBTool with "libstagefright.so"
Problem description
Running the tool cause SIGILL upon "libstagefright.so" startup ( during ELF load sequence )
Another executable that is using "libstagefright.so" is "screenrecord", The "screenrecord" from the Compiled Android Source perfectly work on the same device where my ADBTool is crashing ( with SIGILL )
The tool is successfully linking against numerous other Shared Libs taken from the Compiled Android Source, when adding "libstagefright.so" the tool crash with SIGILL, Why? What am I doing wrong?
Adding to the above, Same happen when linking against "libstagefright.so" taken from my device...