freshBootstrapTools: llvmPackages_11 -> llvmPackages_16#288977
Conversation
remove llvmPackages_11 reference in preparation to drop LLVM11
|
Since this basically reverts 887d33a, is the issue in #241692 (comment) now resolved? |
|
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. |
|
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).
|
remove llvmPackages_11 reference in preparation to drop LLVM11
need to figure out how to test...
Description of changes
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.