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

freshBootstrapTools: llvmPackages_11 -> llvmPackages_16 #288977

Closed
wants to merge 1 commit into from
Closed

freshBootstrapTools: llvmPackages_11 -> llvmPackages_16 #288977

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 15, 2024

remove llvmPackages_11 reference in preparation to drop LLVM11

need to figure out how to test...

Description of changes

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

remove llvmPackages_11 reference in preparation to drop LLVM11
@github-actions github-actions bot added the 6.topic: stdenv Standard environment label Feb 15, 2024
@ghost ghost requested a review from toonn February 15, 2024 07:42
@ghost ghost mentioned this pull request Feb 15, 2024
@wegank
Copy link
Member

wegank commented Feb 15, 2024

Since this basically reverts 887d33a, is the issue in #241692 (comment) now resolved?

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Feb 15, 2024
@toonn
Copy link
Contributor

toonn commented Feb 20, 2024

It doesn't actually revert my change. The problem was both llvmPackages_11 and llvmPackages (which is now llvmPackages_16) were used after the llvmPackages bump. So this is bumping it correctly.

The more important issue here, IMO, is this will make freshBootstrapTools differ from the actual bootstrap tools used. Now, that can be resolved by switching to these newly built bootstrap tools but that's exactly what we've been putting off until there's a strong enough motivation to do so. Let's batch any other bootstrap tools improvements together so we're not rebuilding the world over a more or less cosmetic change.

@ghost
Copy link
Author

ghost commented Feb 20, 2024

thanks for taking a look at this change! however, this is not just a cosmetic change. this is the last client of the LLVM11 toolchain, removing it will allow for dropping LLVM11 from nixpkgs which also moves forward in a step to simplifying the LLVM code as it removes one of the last LLVMs before it switched to a monorepo and unified libcxx / libcxxabi. If you're not aware there are issues with how we are building libcxx / libcxxabi which has resulted to segfaults when libcxx is loaded as well as having to specify libcxxabi when linking. when built together the build system properly re-exports the libcxxabi symbols from libcxx as well as marks the exported from libcxx as non-weak, fixing the segfault issue. (note, i've already committed a work around for the segfaulting libcxx).

@ghost ghost closed this Mar 13, 2024
@ghost ghost deleted the freshbs-unpin11 branch March 13, 2024 09:38
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: stdenv Standard environment 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants