mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
3c03811683
Key test case: nixpkgs#pkgsStatic.pkgsLLVM.ncurses Prior to this patch, this fails with errors such as: ``` error: undefined symbol: __cxa_throw ``` I think this is a reasonable solution because in #292043, libcxxabi was 'merged into libcxx', however, the commit message suggests that only dynamic linking was accounted for, because it says: ``` * linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient. ``` Whereas, I found that if I tried linking a "hello world" C++ program with a static hostPlatform, it failed unless -lc++abi was passed. Signed-off-by: Peter Waller <p@pwaller.net> |
||
---|---|---|
.. | ||
auto-patchelf-hook | ||
buildFHSEnv | ||
cc-wrapper | ||
check-by-name | ||
checkpointBuild | ||
coq | ||
cross | ||
cuda | ||
cue | ||
dhall | ||
dotnet | ||
haskell | ||
hooks | ||
install-shell-files | ||
ld-library-path | ||
macos-sierra-shared | ||
make-binary-wrapper | ||
make-hardcode-gsettings-patch | ||
make-wrapper | ||
nixos-functions | ||
php | ||
release | ||
simple | ||
stdenv | ||
stdenv-inputs | ||
substitute | ||
systemd | ||
texlive | ||
top-level | ||
vim | ||
config.nix | ||
default.nix | ||
kernel.nix | ||
overriding.nix |