Hello,
It seems Android 6.0 forces usage of PIC-enabled shared libraries only.
Currently the Android FPC target is not PIC compatible, since the
startup assembler code is needed to be converted to PIC.
You need to use targetSdkVersion <= 22 until PIC is fixed for the
Android target.
Yury Sidorov.
On 9/9/2015 10:43 PM, Dmitry Boyarintsev wrote:
On Wed, Sep 9, 2015 at 3:40 PM, Maciej Izak <hnb.c...@gmail.com
<mailto:hnb.c...@gmail.com>> wrote:
still unreadable ... :(
needs to be replaced with the space, obviously
2015-09-09 18:35 GMT+02:00 크레딕스 최원식 <simons...@naver.com
<mailto:simons...@naver.com>>:
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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel