nixpkgs/pkgs/os-specific/darwin
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
..
airbuddy treewide: remove unpackCmd involving 7zz 2024-03-02 12:11:34 +01:00
aldente treewide: remove unpackCmd involving 7zz 2024-03-02 12:11:34 +01:00
apparency apparency: init at 1.5.1 2023-08-16 09:27:14 +10:00
apple-sdk darwin.apple_sdk: drop unnecessary dependencies 2023-11-02 17:45:58 -04:00
apple-sdk-11.0 Merge pull request #282851 from stephank/feat/darwin-apinotes 2024-02-14 06:34:45 -05:00
apple-source-releases llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043) 2024-03-11 03:53:37 -07:00
asitop asitop: 0.0.23 -> 0.0.24 2023-12-08 23:16:30 +01:00
bartender bartender: 4.2.21 -> 5.0.49 2024-02-29 09:14:38 +01:00
binutils
cctools cctools-llvm: use cctools assembler on x86_64-darwin and LLVM 11 2023-07-09 13:29:11 -06:00
coconutbattery coconutbattery: 3.9.12 -> 3.9.14 2023-09-27 15:30:36 -04:00
CoreSymbolication darwin.CoreSymbolication: fix C99 compilation 2023-11-19 15:59:22 +01:00
darwin-stubs
DarwinTools DarwinTools: fix Darwin cross-compilation 2023-10-11 18:23:52 -04:00
defaultbrowser
discrete-scroll
dockutil
duti
ghc-standalone-archive
goku
grandperspective grandperspective: 3.0.1 -> 3.4.1 2023-07-22 19:15:07 +10:00
hexfiend hexfiend: 2.16.0 -> 2.17.1 2024-02-28 09:31:53 -03:00
impure-cmds
insert_dylib
ios-deploy darwin.ios-deploy: 1.11.0 -> 1.12.2, refactor 2023-10-07 05:46:25 +02:00
iproute2mac
karabiner-elements karabiner-elements: 14.11.0 -> 14.13.0 2024-01-29 14:15:29 -05:00
khd
kwm
libtapi llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043) 2024-03-11 03:53:37 -07:00
lsusb
m-cli
macfuse
maloader
mas
moltenvk darwin.moltenvk: 1.2.4 -> 1.2.7 2024-01-27 14:46:04 +01:00
mysides
native-x11-and-opengl
noah
opencflite
openwith darwin.openwith: mark broken on x86_64 2023-05-29 13:41:25 +10:00
osx-cpu-temp
osxsnarf
pam-reattach
plistwatch plistwatch: unstable-2020-12-22 -> unstable-2023-06-22 2023-08-05 09:34:50 +08:00
pngpaste
print-reexports
qes
raycast raycast: 1.64.4 -> 1.66.2 2024-02-04 13:47:15 -05:00
reattach-to-user-namespace
rectangle rectangle: 0.75 -> 0.76 2024-02-21 23:24:53 +01:00
rewrite-tbd darwin.rewrite-tbd: 20201114 -> unstable-2023-03-27 2023-07-09 11:14:35 +03:00
sensible-side-buttons sensible-side-buttons: init at 1.0.6 2023-09-06 18:20:34 +09:00
shortcat
signing-utils codesign_allocate: reference cctools 2023-08-01 21:27:09 +02:00
sigtool darwin.sigtool: add meta 2023-05-22 12:54:56 +03:00
sketchybar sketchybar: 2.20.0 -> 2.20.1 2024-02-06 18:35:39 -06:00
skhd skhd: silence implicit-function-declaration warning on Darwin 2023-11-17 23:43:48 +08:00
smimesign
spacebar
stubs
swift-corelibs darwin.swift-corelibs-foundation: avoid infinite recursion 2023-11-02 17:45:59 -04:00
swiftbar
swiftdefaultapps
trash
utm utm: 4.4.4 -> 4.4.5 2023-12-14 10:10:08 +01:00
wifi-password
xattr
xcode darwin.xcode: add 15 and 15.1 2023-12-22 11:33:20 +11:00
yabai yabai: 6.0.14 -> 6.0.15 2024-02-22 19:10:16 -06:00
gen-frameworks.py