diff options
author | Peter Waller <p@pwaller.net> | 2024-04-27 11:41:46 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-05-10 17:22:20 +0200 |
commit | 3c03811683fecb816d2b8eb01e918f83956c7220 (patch) | |
tree | 8296ea3f20484db9268c7ffb52dc3976b8c519ae /nixos | |
parent | 45ada9cefd97511e0e9bfab147d046efef53d6b9 (diff) |
llvmPackages_*.libcxx: include libcxxabi within libcxx
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>
Diffstat (limited to 'nixos')
0 files changed, 0 insertions, 0 deletions