nixpkgs/pkgs/tools/compression
a-n-n-a-l-e-e ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
..
advancecomp
asar
brotli treewide: add mainProgram 2023-11-23 21:04:16 +01:00
bsc treewide: add mainProgram 2023-11-23 21:04:16 +01:00
bsdiff
bzip2
bzip3 bzip3: 1.3.2 -> 1.4.0 2023-12-06 20:10:21 -08:00
crabz treewide: add mainProgram 2023-11-23 21:04:16 +01:00
dejsonlz4 treewide: add mainProgram 2023-11-23 21:04:16 +01:00
dtrx treewide: add mainProgram 2023-11-23 21:04:16 +01:00
efficient-compression-tool efficient-compression-tool: fixup build with gcc13 2024-01-11 16:16:45 +01:00
flips treewide: add mainProgram 2023-11-23 21:04:16 +01:00
gzip
gzrt
hacpack treewide: add mainProgram 2023-11-23 21:04:16 +01:00
hactool treewide: add mainProgram 2023-11-23 21:04:16 +01:00
heatshrink heatshrink: use finalAttrs pattern 2024-03-05 09:50:19 +01:00
imagelol treewide: add mainProgram 2023-11-23 21:04:16 +01:00
keka
kzipmix
lbzip2 lbzip2: apply implicit function definition patch; fix darwin 2023-12-30 00:45:11 +00:00
lhasa
lrzip
lz4
lzbench treewide: add mainProgram 2023-11-23 21:04:16 +01:00
lzfse treewide: add mainProgram 2023-11-23 21:04:16 +01:00
lzham
lzip lzip: 1.24 -> 1.24.1 2024-03-02 14:10:11 +01:00
lziprecover lziprecover: 1.23 -> 1.24 2024-01-22 04:26:20 +00:00
lzop treewide: add mainProgram 2023-11-23 21:04:16 +01:00
mozlz4a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
ncompress
nx2elf treewide: add mainProgram 2023-11-23 21:04:16 +01:00
offzip treewide: add mainProgram 2023-11-23 21:04:16 +01:00
orz treewide: add mainProgram 2023-11-23 21:04:16 +01:00
ouch llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043) 2024-03-11 03:53:37 -07:00
pbzip2
pbzx treewide: add mainProgram 2023-11-23 21:04:16 +01:00
pigz
pixz treewide: add mainProgram 2023-11-23 21:04:16 +01:00
pxz
rzip rzip: fix clang build 2023-11-29 14:01:05 +11:00
unzrip treewide: add mainProgram 2023-11-23 21:04:16 +01:00
upx upx: 4.2.1 -> 4.2.2 2024-01-03 20:58:44 +01:00
xar fts: set to musl-fts on musl 2023-11-30 11:58:21 +01:00
xdelta
xz xz: 5.4.6 -> 5.6.0 2024-02-24 18:15:35 +00:00
zdelta
zfp zfp: 1.0.0 -> 1.0.1 2023-12-25 07:08:52 +00:00
zopfli
zstd zstd: drop libatomic workaround for riscv 2023-12-16 16:25:45 -05:00