OSVR/OSVR-Android-Build

ShieldTV: error, only position independent executables (PIE) are supported.

JeroMiya opened this issue · 1 comments

From a support ticket:

When a user tried running the server from the adb shell, they get this error:
"error: only position independent executables (PIE) are supported."

This was on a Shield TV device with an HDK attached.

Related stack overflow question:
http://stackoverflow.com/questions/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab

Can't reproduce on the LG G4 or the Galaxy S6. Is it specific to the ShieldTV?

I have the hardware to test but am really struggling on working out how to compile osvr-android-build from source.

Does adding an emulated device in the device emulator configured for shield tv specs in android studio not help you out in seeing what is going wrong?