Bug#909396: systemd: FTBFS on hppa and x32 - relocation can not be used when making a shared object

John David Anglin dave.anglin at bell.net
Sun Oct 28 20:16:52 GMT 2018


On 2018-09-25 10:15 AM, John David Anglin wrote:
> I will test the proposed change once this bug is fixed:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909440
I had a successful build of systemd 239-11 with the attached change.  See:
https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=hppa&ver=239-11&stamp=1540757105&raw=0

Dave

-- 
John David Anglin  dave.anglin at bell.net

-------------- next part --------------
Index: systemd-239/meson.build
===================================================================
--- systemd-239.orig/meson.build
+++ systemd-239/meson.build
@@ -341,7 +341,7 @@ possible_link_flags = [
 # enable it when we are linking against them
 if not fuzzer_build
         possible_cc_flags += '-fPIE'
-        possible_link_flags += '-pie'
+        possible_link_flags += [ '-fPIE', '-pie', ]
 endif
 
 if cc.get_id() == 'clang'


More information about the Pkg-systemd-maintainers mailing list