summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/7
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-01-16 22:40:38 +0000
committerAlyssa Ross <hi@alyssa.is>2023-01-18 11:36:45 +0000
commita5e136325868d6439b405dffbe782f5abbd0ee1a (patch)
tree1efe1528706e4e9d5c363fc7fc4821ec29c029f5 /pkgs/development/compilers/llvm/7
parent3d1e0393328d3c9128b32fbcb00f88e87af25c7c (diff)
downloadnixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar.gz
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar.bz2
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar.lz
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar.xz
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.tar.zst
nixpkgs-a5e136325868d6439b405dffbe782f5abbd0ee1a.zip
llvmPackages.bintools: remove as -> llvm-as symlink
"llvm-as is an LLVM IR -> LLVM bitcode assembler not a system
assembler"[1], and therefore should not be linked as "as".

The "as" symlink was removed in 46e5ea5af64 ("llvm*: remove symlinks
to llvm-diff, llvm-as and associated LLVM IR utilities."), but that
was partially reverted by b331c72f032 ("llvm: setup some symlinks for
compatibility with binutils"), which restored a bunch of symlinks that
were incorrectly removed, but also incorrectly restored "as".  This
was pointed out[2] at the time but apparently never fixed.

[1]: https://github.com/NixOS/nixpkgs/issues/93523#issue-661663683
[2]: https://github.com/NixOS/nixpkgs/commit/b331c72f032389c7156ff1d30117f91c95bbeedb#commitcomment-40981705
Diffstat (limited to 'pkgs/development/compilers/llvm/7')
-rw-r--r--pkgs/development/compilers/llvm/7/bintools/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/7/bintools/default.nix b/pkgs/development/compilers/llvm/7/bintools/default.nix
index d46c1045eb0..a9d4f5fffc0 100644
--- a/pkgs/development/compilers/llvm/7/bintools/default.nix
+++ b/pkgs/development/compilers/llvm/7/bintools/default.nix
@@ -17,7 +17,6 @@ in runCommand "llvm-binutils-${version}" { preferLocalBuild = true; } ''
    ln -s ${llvm}/bin/llvm-ar $out/bin/${prefix}ar
    ln -s ${llvm}/bin/llvm-ar $out/bin/${prefix}dlltool
    ln -s ${llvm}/bin/llvm-ar $out/bin/${prefix}ranlib
-   ln -s ${llvm}/bin/llvm-as $out/bin/${prefix}as
    ln -s ${llvm}/bin/llvm-cxxfilt $out/bin/${prefix}c++filt
    ln -s ${llvm}/bin/llvm-dwp $out/bin/${prefix}dwp
    ln -s ${llvm}/bin/llvm-nm $out/bin/${prefix}nm