The Gold Linker

After the Update to Fedora 20 I forgot to update the linker to Gold. Today I released that linking Samba is horribly slow. Time to change the linker to Gold again:

Fedora:

ll /etc/alternatives/ld
/usr/sbin/alternatives --set ld /usr/bin/ld.gold

openSUSE:

ll /etc/alternatives/ld
/usr/sbin/update-alternatives --set ld /usr/bin/ld.gold

To still build a special project with ld.bfq use:

LDFLAGS="-fuse-ld=bfd"

Leave a Reply