8000 [CMAKE] Add WITH_MOLD option by ksco · Pull Request #1085 · ptitSeb/box64 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[CMAKE] Add WITH_MOLD option #1085

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

Merged
merged 1 commit into from
Nov 26, 2023
Merged

[CMAKE] Add WITH_MOLD option #1085

merged 1 commit into from
Nov 26, 2023

Conversation

ksco
Copy link
Collaborator
@ksco ksco commented Nov 26, 2023

GNU ld is extremely slow on RISC-V. mold is a much faster drop-in replacement, but it does not support -Ttext-segment, so add an option to allow use it.

With this patch, one can use sudo mold -run make install -j64 to compile box64, and it takes 2 seconds to link.

GNU ld is extremely slow on RISC-V. mold is a much faster drop in
replacement, but it does not support `-Ttext-segment`, so add
an option to allow use it.
@ptitSeb ptitSeb merged commit bdf7d47 into ptitSeb:main Nov 26, 2023
@ksco ksco deleted the mold branch November 26, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0