3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/llvm/12
Rick van Schijndel 517d2b963f llvm_12: fix cross-compilation
Cross-compilation is broken because the method of finding ncurses has
changed, causing the build for the 'build system' to fail with a linking
error due to ncurses being for the 'host system' (where you're compiling
for).

This patch disables ncurses, which is not a very neat solution, but will
do until someone takes this upstream and gets it fixed properly.

Closes https://github.com/NixOS/nixpkgs/issues/127946.

Error that's seen before applying this:

/nix/store/hash-binutils-2.35.1/bin/ld: /nix/store/hash-ncurses-6.2-aarch64-unknown-linux-gnu/lib/libtinfo.so: error adding symbols: file in wrong format
2021-09-11 06:57:25 +00:00
..
bintools
clang llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
compiler-rt compiler-rt: Rename llvm argument to libllvm for consistency. 2021-08-09 18:30:59 +03:00
libcxx llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
libcxxabi llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
libunwind llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
lld llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
lldb llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
llvm llvm_12: fix cross-compilation 2021-09-11 06:57:25 +00:00
openmp llvmPackages_12: 12.0.0 -> 12.0.1 2021-07-09 10:22:08 +02:00
default.nix llvmPackages_*: expose release_version 2021-08-20 23:07:43 +02:00