about summary refs log tree commit diff
path: root/pkgs/test/cc-wrapper
AgeCommit message (Collapse)AuthorFilesLines
2020-12-27bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim1-4/+19
2020-12-21Revert "bintools-wrapper: skip dynamic linker for static binaries"Vladimír Čunát1-19/+4
This reverts commit ccfd26ef14ea213320f0b49db3fb347785b38f06. These toolchain changes are too problematic, so reverting for now; see https://github.com/NixOS/nixpkgs/pull/107086#issuecomment-749196366
2020-12-14tests.cc-wrapper: disable static compilation macOSJörg Thalheim1-8/+11
macOS does not support this
2020-12-14bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim1-4/+16
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.
2020-07-23stdenv: make -nostdinc work as intendedJörg Thalheim3-0/+17
Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
2018-06-18Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson1-2/+4
2018-06-18tests.cc-wrapper: Fix sanitizer conditionJohn Ericson1-2/+4
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.
2018-06-14llvm 5: split out compiler-rt and remove libcxxabi depJohn Ericson1-1/+1
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.
2018-06-14llvm 6: Fix libcxxabi impurity and darwin sanitizersJohn Ericson1-1/+1
2018-06-06tests.cc-wrapper: do not test sanitizers on darwinOrivej Desh1-1/+2
They are not supported yet. https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350
2018-05-30tests.cc-wrapper: skip known-broken sanitizer casesBenjamin Saunders1-7/+13
2018-05-24clang_6: fix sanitizers under libstdc++Benjamin Saunders1-2/+0
2018-05-24tests.cc-wrapper: verify building with sanitizersBenjamin Saunders2-0/+13
2017-12-05Add clang multilib variants (x64_64-only, 64/32bit), basic multilib testsWill Dietz1-0/+37
2017-09-13treewide: Use `*Platform.extensions`John Ericson1-5/+6
2017-09-10nixpkgs-tests: add basic test for cc-wrapperDaiderd Jordan7-0/+92