| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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>
| Peter Waller | 2024-05-10 | 1 | -0/+11 |
| * | tests.cc-wrapper: add atomics test•••`-std=c++17` is for clang 5
| Artturin | 2023-11-16 | 2 | -1/+18 |
| * | tests.cc-wrapper.supported: add test for cxxabi header•••`#include <cxxabi.h>`
`/nix/store/02wpjmp2zjjxz13z7g599mniwi25zkcy-libcxxabi-16.0.6-dev/include/cxxabi.h:20:10: fatal error: '__cxxabi_config.h' file not found`
| Artturin | 2023-09-18 | 2 | -0/+15 |
| * | tests.cc-wrapper: show command output on different line•••this is much easier to read.
| Artturin | 2023-09-07 | 1 | -10/+10 |
| * | tests.cc-wrapper: show more prominently what cc is being tested•••Show what libc is used, otherwise there's indication what libc is being
used. Ex in gccMultiStdenv.
| Artturin | 2023-09-07 | 1 | -1/+5 |
| * | cc-wrapper, binutils-wrapper: add tests hardening-flags-handling•••most tests use debian-devscripts' hardening-check, so only work on
ELF systems and can only detect a limited subset of flags.
some extra tests actually execute fortify-protected programs and
should be slightly more universally applicable.
| Robert Scott | 2023-09-02 | 4 | -0/+441 |
| * | Merge pull request #229754 from rrbutani/fix/cc-wrapper-extra-positional-args•••Support `--` in `cc-wrapper` | John Ericson | 2023-05-08 | 1 | -0/+23 |
| |\ |
|
| | * | cc-wrapper-test: add tests for `--` | Rahul Butani | 2023-05-03 | 1 | -0/+23 |
| * | | tests.cc-multilib: put error on separate line | Artturin | 2023-05-05 | 1 | -5/+5 |
| |/ |
|
| * | cc-wrapper-test: add workaround for asan allocation error•••Miminal program fail with address sanitizer error failed to allocate 0x0 (0) bytes of SetAlternateSignalStack
https://bugzilla.redhat.com/show_bug.cgi?id=1950244
| Nick Cao | 2022-12-25 | 1 | -1/+1 |
| * | cc-wrapper-test: do not test sanitizers when cross compiling | Nick Cao | 2022-12-25 | 1 | -1/+1 |
| * | cc-wrapper-test: do not test sanitizers on darwin | Nick Cao | 2022-12-25 | 1 | -1/+1 |
| * | cc-wrapper-test: support cross compilers | Nick Cao | 2022-12-25 | 1 | -11/+12 |
| * | cc-wrapper: don't set rpath on static-pie executables | Jörg Thalheim | 2021-05-23 | 1 | -2/+1 |
| * | treewide: stdenv.lib -> lib | Pavol Rusnak | 2021-01-24 | 2 | -12/+12 |
| * | bintools-wrapper: skip dynamic linker for static binaries | Jörg Thalheim | 2020-12-27 | 1 | -4/+19 |
| * | Revert "bintools-wrapper: skip dynamic linker for static binaries"•••This reverts commit ccfd26ef14ea213320f0b49db3fb347785b38f06.
These toolchain changes are too problematic, so reverting for now; see
https://github.com/NixOS/nixpkgs/pull/107086#issuecomment-749196366
| Vladimír Čunát | 2020-12-21 | 1 | -19/+4 |
| * | tests.cc-wrapper: disable static compilation macOS•••macOS does not support this
| Jörg Thalheim | 2020-12-14 | 1 | -8/+11 |
| * | bintools-wrapper: skip dynamic linker for static binaries•••Currently we set dynamic-linker unconditionally. This breaks
however some static binaries i.e. rust binaries linked against musl.
There is no reason we should set an elf interpreter for static binaries
hence this is skipped if `-static` or `-static-pie` is either passed to
our cc or ld wrapper.
| Jörg Thalheim | 2020-12-14 | 1 | -4/+16 |
| * | stdenv: make -nostdinc work as intended•••Right now we add glibc to search path also -nostdinc was provided,
which breaks projects providing their own gcc.
| Jörg Thalheim | 2020-07-23 | 3 | -0/+17 |
| * | Merge remote-tracking branch 'upstream/master' into staging | John Ericson | 2018-06-18 | 1 | -2/+4 |
| |\ |
|
| | * | tests.cc-wrapper: Fix sanitizer condition•••fc9644d4c9c9d29958e9bcf1676d48d4b3026bb4 accidentally enabled the
sanitizer tests for GCC on Darwin, when fixing that case was never
attempted. Also inverted the condition from broken to working for
clarity.
| John Ericson | 2018-06-18 | 1 | -2/+4 |
| * | | llvm 5: split out compiler-rt and remove libcxxabi dep•••We already did them on non-mass-rebuild llvm 6. Also, this allows
simplifying the stdenv booting.
We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that
too.
| John Ericson | 2018-06-14 | 1 | -1/+1 |
| |/ |
|
| * | llvm 6: Fix libcxxabi impurity and darwin sanitizers | John Ericson | 2018-06-14 | 1 | -1/+1 |
| * | tests.cc-wrapper: do not test sanitizers on darwin•••They are not supported yet.
https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350
| Orivej Desh | 2018-06-06 | 1 | -1/+2 |
| * | tests.cc-wrapper: skip known-broken sanitizer cases | Benjamin Saunders | 2018-05-30 | 1 | -7/+13 |
| * | clang_6: fix sanitizers under libstdc++ | Benjamin Saunders | 2018-05-24 | 1 | -2/+0 |
| * | tests.cc-wrapper: verify building with sanitizers | Benjamin Saunders | 2018-05-24 | 2 | -0/+13 |
| * | Add clang multilib variants (x64_64-only, 64/32bit), basic multilib tests | Will Dietz | 2017-12-05 | 1 | -0/+37 |
| * | treewide: Use `*Platform.extensions` | John Ericson | 2017-09-13 | 1 | -5/+6 |
| * | nixpkgs-tests: add basic test for cc-wrapper | Daiderd Jordan | 2017-09-10 | 7 | -0/+92 |