This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PING: [PATCH] Add --enable-static-pie to build static PIE
On 27/09/17 11:55, Florian Weimer wrote:
> On 09/27/2017 10:30 AM, H.J. Lu wrote:
>>> would an architecture need or not need architecture-specific configure
>>> changes, etc.), and have you tried a build-many-glibcs.py run with this
>>> option passed to all the builds to see how other architectures do? Why
>
>> build-many-glibcs.py has no regressions.
>
> On which tree? I think commit 6cd380dd366d728da9f579eeb9f7f4c47f48e474 added absolute relocations to the
> startup code, which I expect will not work for static PIE.
>
i'd expect the Scrt1.o to be used for PIE which have no ABS relocs
however it can have RELATIVE relocs if GOT entries are used i think
(even on x86_64).