Skip to content

Commit

Permalink
llvmPackages_17.llvm: add patch to fix -fzero-call-used-regs crashes
Browse files Browse the repository at this point in the history
otherwise, we run in to llvm/llvm-project#75168
on linux x86_64 when building libcxx
  • Loading branch information
risicle committed Jun 2, 2024
1 parent ecefb31 commit c85826c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/compilers/llvm/17/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ in let
# It's not clear to me why this isn't an issue for LLVM developers running
# on macOS (nothing about this _seems_ nix specific)..
./llvm/lit-shell-script-runner-set-dyld-library-path.patch

# resolves https://github.com/llvm/llvm-project/issues/75168
(fetchpatch {
name = "fix-fzero-call-used-regs.patch";
url = "https://github.com/llvm/llvm-project/commit/f800c1f3b207e7bcdc8b4c7192928d9a078242a0.patch";
stripLen = 1;
hash = "sha256-e8YKrMy2rGcSJGC6er2V66cOnAnI+u1/yImkvsRsmg8=";
})
];
pollyPatches = [
./llvm/gnu-install-dirs-polly.patch
Expand Down

0 comments on commit c85826c

Please sign in to comment.