[fpc-devel] re : FPC app crash with "has text relocations" / android 6.0
크레딕스 최원식
simonsayz at naver.com
Wed Sep 9 18:35:40 CEST 2015
Oh.... Sorry....
More Testing
- Test Env.
FPC 3.1.1 (svn 31577)
Case 1. Java Loading Shared Lib (JNI)
until targetSdkVersion = 22 -> OK,
when targetSdkVersion = 23 -> Crash
Case 2. Java Loading C Shared Obj (JNI)
and C Shared Lib loading Pascal Lib by dlOpen
2.1 targetSdkVersion <= 22
All Works
2.2. targetSDKVersion = 23
- Java Load C Library
- C Library Loading Pascal Library ( dlOpen / Fail )
- Other Helpful Link
http://slowbutdeadly.blogspot.kr/2015/09/javalangunsatisfiedlinkerror-dlopen.html
- In My Result
Android 6.0 can't loading so file when so file has text relocations
// Dynamic section at offset 0x42f424 contains 32 entries:
// Tag Type Name/Value
// 0x00000016 (TEXTREL) 0x0 // If TEXTREL exists then Crash
I want to believe that my testing result is wrong,
but If android app's policy will be changed,
It's big problem. or just My mistake ?
Can I fix the problem in manual (or fix with tricky method for temporary ?)
Best Regards
Simon,Choi
More information about the fpc-devel
mailing list