This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]