Binutils 2.44 deprecated ld.gold

According to binutils 2.44 release note, ld.gold was deprecated:

I did a run on Linux with my clang build scripts without ld.gold, and all LTO tests failed. The macOS and Windows builds were not affected, since they do not use ld.gold.

Any comments?

1 Like

LLVM has something we call the “gold plugin” for LTO, but that name comes from back when gold was the first linker to support LTO plugins. LTO plugin support has since been added to ld.bfd. Probably we just need to do a bunch of renaming in the documentation and tests.

1 Like

Good to know that things are not that bad.

For now the workaround is to update the build scripts to download binutils-with-gold-2.44.tar.xz, but for future releases it would be great to fix the clang build scripts and update the documentation.

@ilg-ul Which build scripts are you using?

Probably the most complex ones, that create cross-platform (Windows/macOS/Linux) standalone relocatable distributions:

The release process is documented here:

Right now I’m making the 19.1.7 release, it’ll take at least one more day to complete.

Long live ld.gold!