You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not actually add ld.gold to our docker images (since binutils is a required dependency and contains gold in all the distros we currently support), however it does make it explicit and shows its version. Might be also useful for the future, if ld.gold is no longer installed by default (e.g. Debian Trixie)
Since we currently don't use gold, and knowing that it's already deprecated and slated to be removed at some point, what's the benefit of adding it now and then having the pipeline fail when it's gone?
Turns out, we do use gold. It is installed by default by the binutils package, and used by default for gcc builds, if installed.
As for the latter question, the binutils versions in all of the distros we use (Debian, Ubuntu, RHEL) are old enough not to be affected by the announcement from GNU, e.g. RHEL 9.6 is on version 2.35 ; Ubuntu Noble version 2.42 ; Debian Bookworm version 2.40. We would only need to explicitly install binutils-gold for Debian Trixie and that would be version 2.44
The addition of binutils-gold package is basically future-proofing until we switch to another linker, and that decision belongs to XRPLF projects such as rippled, not to CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This does not actually add
ld.goldto our docker images (sincebinutilsis a required dependency and contains gold in all the distros we currently support), however it does make it explicit and shows its version. Might be also useful for the future, ifld.goldis no longer installed by default (e.g. Debian Trixie)