unused DT entry: type 0x1d arg

后端 未结 2 1628
耶瑟儿~
耶瑟儿~ 2020-12-04 18:14

I am using android NDK-r10d to build Android x86 executable (shared linking) that runs on adb shell. On run time, I am getting the following warning:

2条回答
  •  一个人的身影
    2020-12-04 18:43

    With readelf -d you may list DT entries in your binary:

     0x0000001d (RUNPATH)                    Library runpath: [lib]
    

    As you may see, 0x1d corresponds to RUNPATH That entry is added with linker option -rpath (or -R, if followed by directory)

提交回复
热议问题