mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
e10ea9608a
This should fix a few broken cc-wrapper tests that also check for libasan[1][2][3]: [...] checking whether sanitizers are fully functional... ==243==ERROR: AddressSanitizer failed to allocate 0x0 (0) bytes of SetAlternateSignalStack (error code: 22) [...] The underlying issue is that `SIGSTKSZ` isn't a compile-time constant anymore, but in this case the uninitialized `kAltStackSize` was initialized early enough to evalute to `0`[4]. The issue is already fixed in gcc11 and there's GCC 8.5 which also contains the patch, however the backports to v9 and v10 aren't released yet, so we have to apply patches on our own here. For GCC 7.5 I applied the patch from gcc8 as it doesn't seem as if there's an official upstream backport. [1] https://hydra.nixos.org/build/163102264 [2] https://hydra.nixos.org/build/163624687 [3] https://hydra.nixos.org/build/163619227 [4] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100114 |
||
---|---|---|
.. | ||
4.8 | ||
4.9 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
common | ||
builder.sh | ||
gfortran-darwin-NXConstStr.patch | ||
gfortran-driving.patch | ||
gnat-cflags-11.patch | ||
gnat-cflags.patch | ||
libgomp-dont-force-initial-exec.patch | ||
libphobos.patch | ||
libsanitizer-no-cyclades-9.patch | ||
libsanitizer-no-cyclades.patch | ||
libstdc++-netbsd-ctypes.patch | ||
libstdc++-target.patch | ||
no-sys-dirs-riscv-gcc9.patch | ||
no-sys-dirs-riscv.patch | ||
no-sys-dirs.patch | ||
parallel-bconfig.patch | ||
ppc-musl.patch | ||
res_state-not-declared.patch | ||
sigsegv-not-declared.patch | ||
struct-sigaltstack-4.9.patch | ||
struct-sigaltstack.patch | ||
struct-ucontext-4.5.patch | ||
struct-ucontext-4.8.patch | ||
struct-ucontext-libjava.patch | ||
struct-ucontext.patch | ||
update-mcfgthread-patches.sh | ||
use-source-date-epoch.patch |