nixpkgs/pkgs/development
Maximilian Bosch e10ea9608a
gcc{7,9,10}: apply patches for asan w/glibc-2.34
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
2022-02-27 10:26:58 +01:00
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers gcc{7,9,10}: apply patches for asan w/glibc-2.34 2022-02-27 10:26:58 +01:00
coq-modules coqPackages: tree-wide move packages to nativeBuildInputs and add strictDeps = true 2022-02-25 07:54:17 +01:00
dhall-modules
dotnet-modules
em-modules/generic
embedded treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
gnuradio-modules
go-modules
go-packages
guile-modules
haskell-modules
idris-modules
interpreters maude: fix build w/glibc-2.34 2022-02-27 10:26:54 +01:00
java-modules
libraries zeroc-ice: fix build w/glibc-2.34 2022-02-27 10:26:58 +01:00
lisp-modules
lua-modules
misc breakpad: fix build w/glibc-2.34 2022-02-27 10:26:49 +01:00
mobile
nim-packages
node-packages Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
ocaml-modules ocamlPackages.pycaml: remove at 0.82-14 2022-02-26 13:51:35 +01:00
octave-modules
perl-modules
pharo treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
php-packages Merge pull request #161750 from r-ryantm/auto-update/php-redis 2022-02-25 07:28:09 +01:00
pure-modules
python2-modules python27Packages.gtkme: init at version 1.5.1 2022-02-25 14:00:45 +01:00
python-modules Merge branch 'staging-next' into staging 2022-02-27 09:24:31 +01:00
quickemu
r-modules
ruby-modules
scheme-modules/scheme-bytestructures
tools texinfo: fix build w/glibc-2.34 2022-02-27 10:25:39 +01:00
web treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00