On 2018-12-01 5:23 p.m., Jussi Pakkanen wrote:
The correct way to enable PIE executables with Meson is to remove all
your own compiler and link flags related to pie and set b_pie to true.
This is a fairly new feature and probably the reason why systemd is
not using it.
Removing the compiler and link flags related to pie and setting b_pie to true results in a successful systemd build on hppa:
https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=hppa&ver=239-13&stamp=1543716293&raw=0

However, we didn't get PIE executables.  The current version of meson is 0.48.2-1 and b_pie was introduced in 0.49.0.

Dave

--
John David Anglin  dave.ang...@bell.net

Reply via email to