[fpc-devel] re : FPC app crash with "has text relocations" / android 6.0
Michael Van Canneyt
michael at freepascal.org
Wed Sep 9 18:14:59 CEST 2015
Hello,
Can you please send your mails as plain text ?
The below is totally unreadable in my text-based mail client :(
Michael.
On Thu, 10 Sep 2015, 크레딕스 최원식 wrote:
> 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
>
> until targetSdkVersion = 22 -> OK,
> when targetSdkVersion = 23 -> Crash (Until C Shared Lib OK, But, dlOpen to Pascal Obj -> Crash)
>
> - Other Usefull Link (?)
> http://slowbutdeadly.blogspot.kr/2015/09/javalangunsatisfiedlinkerror-dlopen.html
>
> - In My Test 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 , app will 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