-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Zed fails to build on Chimera Linux #15902
Comments
Digging deeper, I found:
The following workarounds help (choose one):
|
This occurs when building GPUI with the rust nightly toolchain as well. (at least on x86_64 linux). The linker flags work to fix the issue. |
Both workarounds have fixed the issue for me partially, I had to disable dynamic linking for musl (#10990) and manually link libunwind as I was getting unresolved symbol errors related to unwinding (not sure why it wasn't already being linked). I added this line above
The gettext package is needed on Chimera Linux for that bundle script to be able to use |
…4087) This switches how actions are registered in GPUI from [dtolnay/linkme](https://github.com/dtolnay/linkme) to [dtolany/inventory](https://github.com/dtolnay/inventory), fixing the linking error seen in #15902, which also occurs on nightly toolchains. I'm not sure if that issue should be closed or not given the other problems on Chimera though. This also fixes zed-industries/create-gpui-app#10 Release Notes: - N/A
Check for existing issues
Describe the bug / provide steps to reproduce it
I am trying to build Zed on Chimera Linux. Chimera Linux is a non-GNU Linux distribution, it runs entirely with musl libc and LLVM stack (including their libc++). I have installed the same required packages as suggested for Void Linux (package naming is mostly same between the two).
cargo build
built all the deps but fails to link the final zed binary. It shows (example with main at 9907742):Relevant software versions (including its Chimera release/build number after the dash, for reference):
The same issue happens on main (9907742) and the latest release (v0.146.5).
Environment
(cannot run)
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: