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

Ports/mold: Update to 1.5.1 and use CMake instead of Makefile #15453

Merged
merged 2 commits into from
Oct 3, 2022

Conversation

ADKaster
Copy link
Member

@ADKaster ADKaster commented Oct 3, 2022

Per the release notes for 1.5.0, the CMake build is preferred going
forward. This lets us drop some Makefile patches and pass them as CMake
options instead, with the exception of disabling mold-wrapper.so.

Screenshot from 2022-10-02 21-07-57

For some reason we need to pass -L/usr/lib in order for it to find libc when using gcc, this sounds like a gcc patch problem (@BertalanD ). (ref rui314/mold#358 (comment))

Also update Toolchain/BuildMold.sh at the same time, for use with -DENABLE_MOLD_LINKER=ON to build userspace.

Screenshot from 2022-10-02 21-10-55

Per the release notes for 1.5.0, the CMake build is preferred going
forward. This lets us drop some Makefile patches and pass them as CMake
options instead, with the exception of disabling mold-wrapper.so.
Per the release notes for 1.5.0, the CMake build is preferred going
forward.
@linusg linusg merged commit 9c32b9e into SerenityOS:master Oct 3, 2022
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.

None yet

2 participants