Files
nixpkgs/pkgs/tools/text
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
..
2023-12-28 07:12:01 +00:00
2024-02-17 09:24:18 +01:00
2023-09-02 01:25:50 +00:00
2023-12-13 13:13:43 +01:00
2023-08-22 10:25:20 -04:00
2023-12-11 21:45:14 +01:00
2024-01-26 07:23:23 +00:00
2024-02-08 07:32:32 +00:00
2024-03-04 12:46:21 +00:00
2023-12-17 10:32:28 +10:00
2023-09-21 16:23:40 +02:00
2024-01-14 16:35:58 +05:30
2024-01-30 03:50:51 +00:00
2024-01-24 09:18:43 +00:00
2023-11-04 22:22:25 +08:00
2024-03-05 18:53:01 +00:00
2023-12-02 12:36:55 +00:00
2023-09-12 21:44:08 +08:00
2024-02-29 02:43:03 +00:00
2023-11-21 08:42:42 +01:00
2024-03-02 20:26:02 +00:00
2023-09-28 02:18:02 +00:00
2023-11-22 20:57:56 +00:00
2024-02-29 22:58:13 +00:00
2023-10-23 00:38:33 +02:00
2023-11-18 14:56:39 +01:00
2023-10-31 18:23:03 +00:00
2023-09-06 21:00:55 -04:00
2024-02-11 09:20:04 +01:00
2023-11-01 18:44:05 +00:00
2023-09-13 17:07:03 +00:00
2024-02-07 07:04:10 +00:00
2024-02-02 13:43:56 +02:00
2023-12-16 17:49:35 +00:00
2024-01-16 15:38:53 +01:00
2023-12-08 17:03:10 +01:00
2024-01-24 08:37:39 +00:00
2023-09-19 00:37:13 +00:00
2023-09-01 11:52:25 +00:00
2023-10-20 10:28:54 +00:00
2024-01-28 15:55:28 +01:00
2023-10-17 12:30:33 +00:00
2024-02-19 23:47:32 +00:00
2023-10-03 09:44:11 +01:00
2024-01-22 09:43:58 +00:00
2023-12-29 12:21:26 +00:00
2023-11-18 20:08:16 -05:00
2024-01-04 20:25:35 +01:00
2023-12-29 10:24:53 -03:00
2023-12-23 04:47:18 +00:00
2024-03-04 09:10:33 +00:00
2024-01-07 15:32:26 +10:00
2024-02-23 16:02:48 +01:00
2024-01-25 11:53:01 +00:00
2024-01-08 02:39:52 -05:00
2024-03-08 17:16:09 +00:00
2024-02-29 22:57:57 +00:00
2023-11-08 05:00:37 +00:00
2024-02-13 11:25:30 +01:00
2023-10-22 10:45:21 +02:00
2023-10-28 21:21:14 +01:00
2024-01-02 07:18:25 +00:00
2023-10-08 22:15:17 -07:00
2024-03-08 00:57:09 +00:00
2024-03-11 02:39:04 +00:00
2023-10-18 13:53:52 +00:00
2023-08-21 09:19:05 +08:00
2024-01-20 14:00:17 +00:00
2024-01-27 23:36:56 +01:00
2024-02-29 10:05:42 +00:00