<div dir="ltr">Kavitha,<div><br></div><div>I don't think this is the appropriate place to discuss this problem.</div><div>OSGeolive is based on ubuntu and debian, and they have PIE enabled for gdal since 2017. In the meantime, PIE is already enabled by default in gcc.<br></div><div><br></div><div>I think discussing on <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a> would be more appropriate. But do include what platform (os) you are using and which version of gcc, because recent versions will use pie by default. </div><div><br></div><div>Kind Regards,</div><div>Johan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 5, 2020 at 4:33 PM Kavitha K <<a href="mailto:kmskavi@gmail.com">kmskavi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div> We are trying to compile the gdal 2.3.2 source with ASLR . But we are seeing the<br> Elf file type as EXEC (Executable file) instead DYN.<br><br> Please help us whether gdal build is supported the compilation with "-Fpie -pie -fPIC".<br><br> Steps which we followed:<br><br> cp gdalDevKits/gdal-2.3.2.tar.gz .<br><br> tar -xvf gdal-2.3.2.tar.gz<br><br> cd gdal-2.3.2<br><br> env CFLAGS="-Fpie -pie -fPIC" ./configure<br><br> make install<br><br> cd /usr/local/bin<br><br> readelf -l gdaltransform<br><br> Elf file type is EXEC (Executable file)<br><br> Entry point 0x40<br></div><div>Thanks,</div><div>Kavitha</div></div>
_______________________________________________<br>
osgeolive mailing list<br>
<a href="mailto:osgeolive@lists.osgeo.org" target="_blank">osgeolive@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/osgeolive" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/osgeolive</a><br>
</blockquote></div>