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

Michael Biebl biebl at debian.org
Sun Nov 18 18:54:42 GMT 2018


Hi John,

Am 18.11.18 um 19:18 schrieb John David Anglin:
> I understand the problem.  The merge comment shown above is from gcc-9. 
> Systemd compiles fine
> on hppa using gcc-9.
> 
> The merging of PIC and PIE options is not supported using gcc-8. This is
> the corresponding comment in gcc-8:

[..]

> -fPIE and -fPIC are very similar but the former is intended to be used
> for code intended for position
> independent executables and the latter for shared libraries.  Only one
> should be specified in any compilation.
> For PIE executables, only -fPIE should be used.  If -fPIE, -fpie, -fPIC,
> -fpic are specified multiple times,
> the last one is selected.

Thanks for your detailed analysis.
If there is something to fix on the systemd side, it would be great if
you can create a pull request upstream as suggested in
https://github.com/systemd/systemd/issues/10548

Once that is merged, I'd be happy to cherry-pick any necessary changes.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20181118/c8aea684/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list