[OSGeoLive] reg GDAL with ASLR build binaries

Kavitha K kmskavi at gmail.com
Wed Aug 5 07:32:48 PDT 2020


Hi All,
 We are trying to compile the gdal 2.3.2 source with ASLR . But we are
seeing the
 Elf file type as EXEC (Executable file) instead DYN.

 Please help us whether gdal build is supported the compilation with "-Fpie
-pie -fPIC".

 Steps which we followed:

 cp gdalDevKits/gdal-2.3.2.tar.gz .

 tar -xvf gdal-2.3.2.tar.gz

 cd gdal-2.3.2

 env CFLAGS="-Fpie -pie -fPIC" ./configure

 make install

 cd /usr/local/bin

 readelf -l gdaltransform

 Elf file type is EXEC (Executable file)

 Entry point 0x40
Thanks,
Kavitha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20200805/46244242/attachment.html>


More information about the osgeolive mailing list