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 Sep 23 22:17:54 BST 2018


On 2018-09-23 5:03 PM, Michael Biebl wrote:
> Am 23.09.18 um 23:00 schrieb John David Anglin:
>> On 2018-09-23 4:44 PM, Michael Biebl wrote:
>>> Can you please provide some references why on hppa the linker needs
>>> -fPIE in addition to -pie
>> -fPIE is not a "ld" option.  It is a compiler option.
> Right, that's why I don't see why it should be added to possible_link_flags
It's needed because the compiler driver is being used to optimize the 
link.  ld is not being
used directly.  The linker optimization involves various compilations 
which need the option.
The libtool driver is another example of this.  If ld were used 
directly, then the option wouldn't
be needed.  But then the build process would have to select the correct 
startup files, etc.

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




More information about the Pkg-systemd-maintainers mailing list