This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PING^N: [PATCH] Add --enable-static-pie to build static PIE [BZ #19574]
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 1 Nov 2017 09:06:08 -0700
- Subject: Re: PING^N: [PATCH] Add --enable-static-pie to build static PIE [BZ #19574]
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOoyPf-77=cqmEW5Vg2KHwq48g6giW38qpA=oDUsnHaxCA@mail.gmail.com> <alpine.DEB.2.20.1711011603010.26405@digraph.polyomino.org.uk>
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.