PING^N: [PATCH] Add --enable-static-pie to build static PIE [BZ #19574]

H.J. Lu hjl.tools@gmail.com
Wed Nov 1 16:06:00 GMT 2017


On Wed, Nov 1, 2017 at 9:03 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 1 Nov 2017, H.J. Lu wrote:
>
>> _dl_relocate_static_pie.  gPcrt1.o is also added to create static PIE
>> with -pg.
>
> Does that require extra GCC support, or do the specs already in GCC handle
> using gPcrt1.o?

Yes,  this GCC driver patch:

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00954.html

is needed.


-- 
H.J.



More information about the Libc-alpha mailing list