[gdal-dev] GDAL is whether supported ASLR compile or not

Kavitha K kmskavi at gmail.com
Wed Aug 5 04:28:47 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/gdal-dev/attachments/20200805/d2079a27/attachment.html>


More information about the gdal-dev mailing list