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

Static Binaries for MacOS #27

Closed
d-xo opened this issue Sep 7, 2022 · 2 comments · Fixed by #185
Closed

Static Binaries for MacOS #27

d-xo opened this issue Sep 7, 2022 · 2 comments · Fixed by #185
Assignees
Milestone

Comments

@d-xo
Copy link
Collaborator

d-xo commented Sep 7, 2022

Running nix-build on macos currently fails with:

> ld: library not found for -lm
> clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
> `cc' failed in phase `Linker'. (Exit code: 1)

This seems to related to: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix.

We should fix this and start producing static binaries for macos (ideally both aarch64 and x86_64).

@msooseth
Copy link
Collaborator

msooseth commented Oct 5, 2022

@zoep has this been fixed? If so, can we close it?

@d-xo
Copy link
Collaborator Author

d-xo commented Oct 7, 2022

nix-build works on macos, but the resulting binaries are not yet static

@d-xo d-xo added this to the 0.51.0 milestone Dec 9, 2022
@d-xo d-xo self-assigned this Jan 19, 2023
@d-xo d-xo linked a pull request Jan 31, 2023 that will close this issue
4 tasks
@d-xo d-xo closed this as completed in #185 Feb 16, 2023
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 a pull request may close this issue.

2 participants