PING: [PATCH] Add --enable-static-pie to build static PIE

Joseph Myers joseph@codesourcery.com
Thu Sep 28 13:03:00 GMT 2017


On Wed, 27 Sep 2017, H.J. Lu wrote:

> > static-PIE libraries) - although adding one or two additional static-PIE
> > configurations to build-many-glibcs.py might be - but for testing purposes
> > it's very useful to understand how widely this option works (or at least
> > builds) for other architectures.
> 
> Many architectures failed to build static PIE due to asm statements in
> elf_machine_dynamic and elf_machine_load_address.   I didn't check
> start.S which will fail at run-time if there are any dynamic relocations.

In that case: (a) the install.texi / NEWS entries need to make clear the 
limited nature of architecture support for this feature; (b) if the 
feature achieves consensus to go in mainline at all, 
<https://sourceware.org/glibc/wiki/PortStatus> will need updating with a 
list of all the architectures lacking support and detailed information for 
architecture maintainers regarding how to make the feature work on their 
architectures and how to tell whether it is working.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list