Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer mold linker on Linux #13

Open
AMythicDev opened this issue Apr 23, 2022 · 3 comments
Open

Prefer mold linker on Linux #13

AMythicDev opened this issue Apr 23, 2022 · 3 comments
Assignees
Labels
fixing Working on fixing this issue

Comments

@AMythicDev
Copy link

Currently, fleet uses zld on MacOS and lld on Linux and Windows. A better alternative on Linux would be mold as it is even faster than lld.

Please refer to the mold's README to get some real benchmarks on the performance difference.

It wouldn't be recommended to use it on Windows as it's support for Windows is still being worked on but we can for sure use it on Linux.

@Milo123459
Copy link
Contributor

I don't think Mold is stable enough? It's still in the alpha stages of the project.

@VarunPotti
Copy link
Contributor

We did look into mold but we decided to drop it as it is not stable yet (and all the resources we could find on installation told that the end user had to build from source). However we will be introducing more customization options so that you can set the type of linker you would want to use on your projects!

@suptejas
Copy link
Member

suptejas commented Apr 23, 2022

Our license is not compatible with that of mold, which is why we were forced to drop it as an option.

Edit: I might be wrong about this.

@suptejas suptejas added the fixing Working on fixing this issue label Apr 24, 2022
@suptejas suptejas self-assigned this Apr 24, 2022
@dimensionhq dimensionhq deleted a comment from GrinderDeveloper Jun 2, 2022
@suptejas suptejas reopened this Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixing Working on fixing this issue
Projects
None yet
Development

No branches or pull requests

5 participants