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.ang...@bell.net

Reply via email to