-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
problem building alacritty #153304
Comments
Seems specific to MacOS. I can reproduce this on my M1 machine, not on NixOS. Not sure if it's even specific to Update: {
pkgsCompat = import unstable {
system = "x86_64-darwin";
};
} so it appears to be specific to |
It also failed on aarch64-linux https://hydra.nixos.org/build/162176062/nixlog/1/tail |
The list of commits that caused the breakage is here. I see that |
Bisect finished. Looks like this is a compiler regression:
@alyssais Any ideas on what may be causing the issue? |
It's probably this regression rust-lang/rust#91671 . |
So far, the main takeaway from my investigation in rust-lang/rust#91671 is that the thing that 1.57.0 did that injected this problem is that it started passing along the LTO (link-time optimzation) flags down into rustdoc generated code. We did not use to do this. But now that we have started, it has started exposing LTO-related issues that were masked before. I would be curious to know if your problem here is indeed LTO-related. Do you know if link-time optimization is enabled in this alacritty build? |
I checked the v0.9.0 branch of alacritty and it is built with lto for release. If you |
I'm getting this problem with skim. Like alacritty, skim has |
is there any workaround instead of using the intel version? i would like to update my system again :D |
You can use overlays to disable check:
|
Describe the bug
Since this morning alacritty fails to build with the following error:
Steps To Reproduce
Just run
Expected behavior
Alacritty should build succesfully.
Screenshots
N/A
Additional context
N/A
Notify maintainers
@Br1ght0ne @Mic92 @Ma27
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: