PdfiumAndroid icon indicating copy to clipboard operation
PdfiumAndroid copied to clipboard

Found elf built without Position Independent Executable (PIE) flag

Open abdulsiddiq opened this issue 7 years ago • 1 comments

While compiling the native C/C++ code, use "-fPIC" flag in case of 32-bit program. In case of 64-bit program, use "-fPIE" and "-pie" flags.

Suggestions : Need to add set(CMAKE_POSITION_INDEPENDENT_CODE ON) to cmake file. or necessary flags to the android.mk file

https://corochann.com/build-executable-file-with-android-ndk-after-lollipop-android-api-21-388.html Refer the following link

abdulsiddiq avatar Jan 22 '19 11:01 abdulsiddiq

Could you please rebuild affected libraries with the -pie flag? Libraries: lib/mips64/libmodft2.so lib/mips64/libc++_shared.so lib/mips64/libjniPdfium.so lib/mips64/libmodpng.so lib/mips64/libmodpdfium.so

udfvirus avatar May 12 '20 13:05 udfvirus