#412 371 - Add LLD As Update Alternatives Option For LD
Merged 4 years ago by pbokoc. Opened 4 years ago by quiet.
Unknown source iss371  into  f31

@@ -9,3 +9,11 @@

  

  Google LLC decided not to continue development of the `gold` linker. As a result its code may start to bit-rot. Therefore the linker has been moved into its own sub-package of the `binutils` package, in Fedora 31. This change is a precautionary measure, in case in the future Fedora decides that `gold` should be deprecated.

  

+ 

+ [[lld-option-for-ld]]

+ == LLD has been added as update-alternatives option for LD

+ 

+ Users are able to use the `update-alternatives` utility to create a symbolic link from the `/usr/bin/ld` file to `/usr/bin/lld`. This change effectively allows the `lld` utility to act as the system linker. The aim is to make it easier for users to integrate `lld` into their projects.

+ 

+ Users can try `lld` with their projects by running `update-alternatives --set ld /usr/bin/lld`. No modifications to the existing build systems are required.

+ 

I don't think the the user would be interested in the %post, %postun changes. I would start the description with "Users are able to use ..."

I would also drop the 'However,' in the 4th sentence.

1 new commit added

  • Applies SME feedback
4 years ago

Hello @tstellar and thank you for your feedback.

As to the former 'However'. I thought this adverb would strengthen our point that this change is not about making lld the system linker but a means of making it easier for users to integrate lld into their projects.

Nevertheless, I removed it, as you suggested :)

Pull-Request has been merged by pbokoc

4 years ago