[fpc-devel] re : FPC app crash with "has text relocations" / android 6.0

Dmitry Boyarintsev skalogryz.lists at gmail.com
Wed Sep 9 21:43:25 CEST 2015


On Wed, Sep 9, 2015 at 3:40 PM, Maciej Izak <hnb.code at gmail.com> wrote:

> still unreadable ... :(
>
>   needs to be replaced with the space, obviously
2015-09-09 18:35 GMT+02:00 크레딕스 최원식 <simonsayz at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150909/77086b23/attachment.html>


More information about the fpc-devel mailing list