Bug#803474: src:systemd: Please use the default linker instead of gold on sparc64

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Nov 6 23:28:19 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/05/2015 06:14 PM, Michael Biebl wrote:
> Am 05.11.2015 um 17:53 schrieb John Paul Adrian Glaubitz:
>> On Nov 5, 2015, at 5:31 PM, Michael Biebl <biebl at debian.org>
>> wrote:
> 
>>> Depending on what actually is broken, a workaround could also
>>> be to make that functionality in gold on sparc a nop instead of
>>> generating broken code.
>> 
>> Which would probably involve much more patching and hacking than
>> just using the working linker in the first place.
> 
> Well, depending on how broken gold on sparc* actually is, wouldn't
> it be an option to simply make /usr/bin/ld.gold a symlink to
> ld.bfd? That workaround would be trivial to implement as well.

I'll try something similar now. I'll build binutils on sparc* explicitly
without gold now. Do you know whether systemd will still build fine on
systems where gold is not available at all or will it fail?

If systemd will still build fine in such cases and default to bfd, then
I'll happily patch binutils instead.

> This would have the additional benefit that this workaround would
> apply for all packages that use gold and this workaround can be
> dropped exactly when gold has been fixed.

Yeah, I'll look into that now. I have done more digging and it actually
seems that gold results in Qt5 FTBFS on sparc64 now. But I haven't fully
confirmed that now.

>>> Don't you think we should first understand what is broken and
>>> what the impact is?
>> 
>> Well, gold is missing support for SPARCs STT-REGISTER
> 
> I don't actually know what that is. Does that mean every executable
> that has been built with gold is broken on sparc?

Looks like that. I'll do some more research now.

Adrian

- -- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWPTeQAAoJEHQmOzf1tfkT2W0P/1vlMSNxpgbhb8I5pwsgB+ux
rh0SHBe21ZiuCIvT9Ei7g0yu0Nk3zpDcr5GncfjbfRxNyQw5V4NxCkIT4sejoO5z
HQ7OyD55CKX/in2+/UBUlTOCCJya8holec/OeWAg88jIypzClWA2KX3GUnt0RczW
Kpo2+zIju914uEgHQEjVuvcMukG/2pZjWS6IrpkfBvwietaCAYtZyMlPFFs3sNhk
8+5Bcw2IcsUI/V+MiPMdYRPKouDkZezS2MwqNZKa0bxhocvztHfeufPjjxymhJBN
+9HONvo5KxYVGSTdyrMYOQrLoga6h2QfeX6fVjgzFdFngDF3fBQ0ikCLpWs8ktKQ
/JiGjeaq2SGXKlGhNuE+/hjVcSrnhWZkhKjaR+HlYDkDspc9XOsZasbSEmdUquMr
Cf27HedCfkQdGyb5l1piFpv5Vo3xDieCK9BkYlc3YLoqAbBH8z9ND7/2EqV8uN4F
4VTd1ag3Q9809t0MXYrFIyl7avTz0jq0BmatLjbnQuhxRd89a7txxH8wNiWlJIsz
GelVpOX4ZAI7g4hISgjXAPBuoi4pNHb04fT1CPR3ijYj/+7mlIADvD4Yc8e2QfNG
h8djZ6hPfMiNdjifItMzL1sd0Rldt95NuddVNNQx+zIRyFZpEqYk+5vzrsEiBRFE
gfOdT65h8tlrhqHuA9fD
=9F9W
-----END PGP SIGNATURE-----




More information about the Pkg-systemd-maintainers mailing list