Skip to content

llvmPackages: llvmPackages_21 -> llvmPackages_23 - #562683

Draft
alexfmpe wants to merge 1 commit into
NixOS:stagingfrom
alexfmpe:llvm_23
Draft

alexfmpe wants to merge 1 commit into
NixOS:stagingfrom
alexfmpe:llvm_23

Conversation

@alexfmpe

@alexfmpe alexfmpe commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Replaces #524570 as WIP/tracking for LLVM bump.

Known broken

Transitively broken

  • blender (openshadinglanguage)
  • firefox (openmp, pango, pkgsCross.wasi32.libcxx)
  • mesa (spirv-llvm-translator)
  • nodejs (llvm20)

Been using this kick-the-tires on darwin

with (import ./. { });
{
  inherit
    hello
    ispc
    ghc
    nodejs
    boost
    firefox
    mesa
    blender
    ;
  inherit (python3Packages)
    numpy
    ;
  inherit (qt6Packages)
    qtwebengine
    ;
  inherit (rubyPackages)
    cocoapods
    ;
  inherit (rustPackages)
    cargo
    ;
}

Things done

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: stdenv Standard environment 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Sep 12, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 6, 2026
@aaravrav

Copy link
Copy Markdown
Member

Is there anything blocking this PR from being completed? Can I help? @alexfmpe

@alexfmpe

Copy link
Copy Markdown
Member Author

Is there anything blocking this PR from being completed?

I'm not sure at which point it's safe to flush this into staging, maybe after it won't break nodejs/firefox? @emilazy

Can I help?

I updated the breakage list. Feel free to have a go at any of them, I won't have time in the next couple weeks

@nixpkgs-ci nixpkgs-ci Bot removed 2.status: merge conflict This PR has merge conflicts with the target branch 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Oct 11, 2026
@whispersofthedawn

Copy link
Copy Markdown
Contributor

note that the breaking change freeze for release critical packages (which includes llvm) is tomorrow, so this will have to land post-branch off, unfortunately.

@whispersofthedawn whispersofthedawn added the 2.status: wait for branch‐off Waiting for the next Nixpkgs branch‐off label Oct 11, 2026
@aaravrav

Copy link
Copy Markdown
Member

#575179 for the first item

@aaravrav

Copy link
Copy Markdown
Member

also you should probably link llvm/llvm-project#223129 against the 3rd item (pkgsCross.wasi32.libcxx)

@aaravrav

Copy link
Copy Markdown
Member

#575569 for openmp

@aaravrav

This comment was marked as duplicate.

@aaravrav

aaravrav commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

You can probably cross off pango and openmp

now only the following blockers that are in our control remain:

@anund

anund commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

clan-unwrapped test needs a look.

$ nom-build . --no-out-link -A pkgs.llvmPackages_23.clang-unwrapped.passthru.tests
this derivation will be built:
  /nix/store/pdasbws7ywj84d0vw7w297jll4asid7x-clang-23.1.3.drv
...
clang> -- Creating nvptx-arch
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangTargets.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangTargets-release.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangConfig.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangConfigVersion.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/AddClang.cmake
clang> -- Installing: /nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/hmaptool
clang> '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/cpp' -> '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/clang'
clang> mv: cannot stat '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/run-clang-tidy': No such file or directory

@whispersofthedawn

Copy link
Copy Markdown
Contributor

clan-unwrapped test needs a look.

$ nom-build . --no-out-link -A pkgs.llvmPackages_23.clang-unwrapped.passthru.tests
this derivation will be built:
  /nix/store/pdasbws7ywj84d0vw7w297jll4asid7x-clang-23.1.3.drv
...
clang> -- Creating nvptx-arch
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangTargets.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangTargets-release.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangConfig.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/ClangConfigVersion.cmake
clang> -- Installing: /nix/store/w8ipj8znbps4c7m3n9v98hdnn18w0gd9-clang-23.1.3-dev/lib/cmake/clang/AddClang.cmake
clang> -- Installing: /nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/hmaptool
clang> '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/cpp' -> '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/clang'
clang> mv: cannot stat '/nix/store/hzfnbh28475a7x0qd8lls4z2bkng0w30-clang-23.1.3/bin/run-clang-tidy': No such file or directory

looks like it'd be fixed by #575055, though i haven't tested

@anund

anund commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Confirmed locally with a manual change.

@reckenrode

Copy link
Copy Markdown
Contributor

Swift is broken as well. I’m working on fixes

@vcunat

vcunat commented Nov 13, 2026

Copy link
Copy Markdown
Member

Testing jobset: https://hydra.nixos.org/jobset/nixpkgs/pr-562683-llvm_23 (x86_64-linux only for now)

@whispersofthedawn

whispersofthedawn commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

regressions: https://hydra.nixos.org/eval/1831384?compare=1831366#tabs-now-fail

notably, other than the expected stuff, im seeing quite a few issues that look like rust-bindgen is producing incorrect code. that (among other issues) would be good investigation.

@whispersofthedawn whispersofthedawn removed the 2.status: wait for branch‐off Waiting for the next Nixpkgs branch‐off label Nov 16, 2026
@thunze thunze mentioned this pull request Nov 25, 2026
5 of 13 tasks
@aaravrav

Copy link
Copy Markdown
Member

@reckenrode Hi, are your fixes ready?

Someone should probably review and merge #575179 now

Also we can check blender and mesa off in the transitively broken section

@reckenrode

Copy link
Copy Markdown
Contributor

@reckenrode Hi, are your fixes ready?

I have fixes for Swift. I’m still working through building my configs.

These are the PRs I have opened so far:

@whispersofthedawn

whispersofthedawn commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

we pushed a bunch of the fixes that have been pred (merged or otherwise) to the wip-llvm-23 branch. it's being tested on hydra for aarch64-darwin now since there's currently some free compute while waiting for the current staging-next-26.11 cycle to finish.

results: https://hydra.nixos.org/eval/1832239?compare=1832225

@reckenrode

reckenrode commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

I also have some Deno fixes. I think that was it for the Clang 23 failures I had building my configs. There’s a fontconfig issue (#596410), but I don’t know if it’s related to the LLVM 23 upgrade or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: stdenv Standard environment 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants