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

rustc: mark broken for LLVM stdenv #375267

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

getchoo
Copy link
Member

@getchoo getchoo commented Jan 20, 2025

The build itself was fixed in #320432, but the compiler still tries to link with libgcc_s whenever it's run (or just about :p). Marking this package as broken helps to avoid users coming across this when we already know it won't work

Context:

#311930
#311930 (comment)

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@getchoo getchoo added 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related backport release-24.11 Backport PR automatically labels Jan 20, 2025
@github-actions github-actions bot added 6.topic: rust and removed 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Jan 20, 2025
@getchoo getchoo added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label Jan 20, 2025
@getchoo getchoo mentioned this pull request Jan 20, 2025
11 tasks
@getchoo getchoo added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jan 20, 2025
@Mic92 Mic92 merged commit ebbcb00 into NixOS:master Jan 20, 2025
28 of 30 checks passed
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Jan 20, 2025

Successfully created backport PR for release-24.11:

@getchoo getchoo deleted the pkgs/rustc/broken-on-llvm branch January 20, 2025 09:20
@RossComputerGuy
Copy link
Member

This PR isn't necessary as #330037 has been waiting for reviews since July and fixes the problem.

@getchoo
Copy link
Member Author

getchoo commented Jan 24, 2025

This PR isn't necessary as #330037 has been waiting for reviews since July and fixes the problem.

It's great there is some work here to fix it, but I wouldn't call this unnecessary since until that (or an alternative) lands, this is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 6.topic: rust 12.approvals: 1 This PR was reviewed and approved by one reputable person backport release-24.11 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants