[PATCH] New option --enable-pie-programs

Florian Weimer fweimer@redhat.com
Tue Nov 16 13:58:48 GMT 2021


* Siddhesh Poyarekar:

> Add a new option --enable-pie-programs to build tests and binaries as
> PIE.  This allows building all dynamic programs in glibc (e.g.
> iconvconfig, getconf, etc.) as PIE on architectures that do not have
> -static-pie.

Please integrate this in some way with libc_cv_cc_pie_default and
libc_cv_pie_default.  Probably --enable-pie-programs should default to
yes if the toolchain defauls to PIE.

Thanks,
Florian



More information about the Libc-alpha mailing list