Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

IIP for Android can't be used on Android 6.0 and later

$
0
0

The IPP static libraries appear to use "Text Relocations" in the assembly code, which is forbidden on Android 6.0 and later.

The linker gives a warning treated as error (i686-linux-android/bin/ld: warning: shared library text segment is not shareable), which can be overridden with "-Wl,--no-warn-shared-textrel", however if I do so then the device fails to load the .so containing the code, saying in the Logcat " Error loading native lib: java.lang.UnsatisfiedLinkError: dlopen failed: "xxxx.so" has text relocations". 

For more info on the Text Relocations prohibition please see:

https://android.googlesource.com/platform/bionic/+/master/android-change...

I'm using the IPP for Android that's include on Systems Studio for Linux, latest version downloaded yesterday. Android Studio 3.5.3 and NDK 20.

 

Thanks.

 

Regards,
Flavio.

 

 

TCE Open Date: 

Friday, December 13, 2019 - 03:46

Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>