nixpkgs/pkgs/development/compilers
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
..
4th
abcl treewide: remove meta.version 2021-07-18 00:07:38 +02:00
acme acme: unstable-2020-12-27 -> unstable-2021-02-14 2021-06-07 21:03:01 +07:00
adoptopenjdk-bin treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.7 -> 1.8.8 2022-01-02 16:48:11 +01:00
aldor development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
algol68g algol68g: Trivial fix in patch 2021-07-30 14:33:55 -03:00
aliceml development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
apache-flex-sdk treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
arachne-pnr
armips armips: init at 0.11.0 2021-06-13 11:31:44 +02:00
as31 as31: init at 2.3.1 2021-09-05 23:22:37 -03:00
asl asl: fix the expression 2021-11-03 13:33:56 -03:00
aspectj aspectj: 1.9.6 -> 1.9.7 2022-01-02 23:43:06 +01:00
atasm atasm: init at 1.09 2021-09-09 17:48:34 -03:00
ats
ats2 ats2: disable parallel build 2022-01-29 11:36:34 +01:00
avra avra: 1.3.0 -> 1.4.2 2022-01-20 19:25:45 +01:00
bigloo bigloo: explicitly depend on unistring on darwin (#140521) 2021-10-04 23:00:39 -04:00
binaryen binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
bluespec whitespace 2021-08-31 16:53:58 -05:00
bs-platform
bupc development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
c3c c3c: init at unstable-2021-07-30 2021-07-31 13:14:50 +02:00
cakelisp
carp carp: 0.5.3 -> 0.5.4 2021-12-30 22:17:53 -08:00
cc65 cc65: enable parallel building 2021-06-07 21:13:21 +07:00
ccl
chez chez: 9.5.4 -> 9.5.6 2021-12-11 12:30:40 +00:00
chez-racket chez-racket: Fix signing on Darwin (Thanks @Steven0351!) 2021-12-23 21:14:28 +00:00
chicken chickenPackages_4.egg2nix: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
ciao ciao: mark as broken on darwin 2021-12-18 11:44:13 -05:00
clasp clasp: use python3 2021-07-27 20:37:04 +02:00
clean
closure closurecompiler: 20211107 -> 20220202 2022-02-11 00:54:37 +00:00
cmdstan development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
cmucl
colm
computecpp
cone cone: init at unstable-2021-07-25 2021-07-30 13:35:43 +02:00
copper copper: 4.4 -> 4.6 2021-12-12 14:13:58 +01:00
coreclr
crystal crystal: remove broken crystal2nix attribute 2022-02-03 02:08:51 -05:00
crystal2nix
cudatoolkit cudatoolkit: added 11.6.0 2022-02-04 13:48:32 +01:00
dale
dasm
dev86 dev86: explicitly disable build parallelism due to missing depends 2021-11-13 21:41:51 +00:00
dictu dictu: 0.22.0 -> 0.23.0 2022-01-15 22:20:46 +01:00
dmd Merge pull request #135905 from dukc/secondDmd2097 2021-09-13 11:36:55 -05:00
dotnet dotnet: fix build on darwin 2021-12-18 16:29:54 +01:00
dtc dtc: 1.6.0 -> 1.6.1 2021-08-23 12:45:14 +02:00
ecl ecl: refactor 2021-12-21 12:08:34 +01:00
edk2 edk2: use llvmPackages_9.stdenv 2021-11-27 00:02:47 +01:00
eli
elm elmPackages.elm: explicitely use ghc8107 2022-02-22 12:58:50 +01:00
emscripten emscripten: 2.0.10 -> 2.0.27 2021-08-21 10:10:03 +02:00
eql treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
factor-lang factor98: add longDescription 2021-11-26 10:22:03 -03:00
fasm fasm: 1.73.28 -> 1.73.29 2021-12-31 07:28:37 +00:00
fasmg
fennel fennel: 0.10.0 -> 1.0.0 2021-11-16 02:35:49 +01:00
flasm
flutter flutter: 2.10.0 -> 2.10.1 2022-02-23 15:10:58 +01:00
flux
fpc lazarus-qt: disable parallel build 2022-01-29 11:40:04 +01:00
fsharp fsharp: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
fstar fstar: 2021.12.25 -> 2022.01.15 2022-01-24 10:29:43 +00:00
gambit gambit: bootstrap install gsc-boot 2021-12-22 10:17:45 -05:00
gavrasm gavrasm: 4.5 -> 5.1 2022-01-20 19:24:13 +01:00
gcc gcc{7,9,10}: apply patches for asan w/glibc-2.34 2022-02-27 10:26:58 +01:00
gcc-arm-embedded gcc-arm-embedded-{6,7,8}: enable on aarch64-darwin 2021-12-05 23:35:52 +01:00
gcl
gerbil gerbil: disable stackprotector on aarch64-darwin for now 2021-12-22 11:10:08 -05:00
gforth gforth: use pname 2022-02-07 21:50:20 -05:00
ghc haskell.compiler.ghc{902,921}: Switch GHC 9.0/9.2 to bignum-native 2022-01-31 19:12:51 +01:00
ghcjs treewide: replace http://github.com with https://github.com 2022-01-07 09:58:36 +07:00
ghdl gnat: 9 -> 11 2021-11-15 22:41:56 +01:00
gleam gleam: 0.18.2 -> 0.19.0 (#156486) 2022-01-25 12:48:22 +09:00
glslang glslang: fix SPIRVTargets.cmake 2022-01-24 01:14:43 +01:00
gnatboot treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
gnu-cobol
gnu-smalltalk
go Merge staging-next into staging 2022-02-19 00:02:38 +00:00
go-jsonnet go-jsonnet: 0.17.0 -> 0.18.0 2021-12-30 14:22:51 +00:00
gprolog Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
graalvm graalvm11-ce: 21.3.0 -> 22.0.0.2 2022-01-26 22:59:44 -03:00
gwt pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
halide
haxe
hhvm
hip hip: use python3 2022-01-30 04:53:33 +00:00
hop hop: 3.3.0 -> 3.4.4 2021-08-14 03:34:53 +03:00
idris2 Idris2: Refactor default.nix 2022-01-10 22:01:42 +01:00
inform6
inform7
inklecate inklecate: switch to source release 2022-01-19 12:14:59 +01:00
intel-graphics-compiler intel-graphics-compiler: mark as broken on darwin 2022-01-17 07:28:37 -05:00
intercal
ios-cross-compile misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
ispc
jasmin
javacard-devkit
jetbrains-jdk jetbrains.jdk: fix build w/glibc-2.34 2022-02-27 10:26:55 +01:00
jrsonnet jrsonnet: mark as broken on darwin 2022-01-21 07:08:20 -05:00
jsonnet jsonnet: 0.17.0 -> 0.18.0 2022-01-06 17:02:01 +01:00
julia julia_17-bin: 1.7.1 -> 1.7.2 2022-02-08 07:20:51 +01:00
juniper
jwasm jwasm: 2.13 -> 2.14 2021-08-02 18:14:47 -03:00
kaitai-struct-compiler katai-struct-compiler: init at 0.9 2021-12-07 16:31:22 +01:00
koka koka: 2.3.2 -> 2.3.6 2021-12-13 15:08:05 +01:00
kotlin kotlin{-native}: 1.6.0 → 1.6.10 2021-12-14 16:04:35 +05:30
ldc ldc: add aarch64-linux 2021-12-14 10:22:08 -08:00
ligo ocamlPackages.ppxlib: 0.23.0 -> 0.24.0 (#154901) 2022-01-23 21:24:16 +01:00
lingua-franca lingua-franca: 0.1.0 -> 0.1.1 2022-01-21 21:14:41 +01:00
llvm Merge #158113: llvmPackages_13: 13.0.0 -> 13.0.1 2022-02-22 13:16:57 +01:00
lobster lobster: unstable-2021-06-18 -> 2021.3 2021-10-20 16:12:13 +02:00
manticore
marst marst: init at 2.7 2021-07-29 05:17:12 -03:00
matter-compiler
mcpp
mercury
meta-environment/meta-build-env development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
mezzo ocamlPackages.pprint: 20171003 → 20220103 2022-02-15 07:25:24 +01:00
microscheme microscheme: fix meta.homepage 2021-12-31 11:17:07 -08:00
mint mint: 0.14.0 -> 0.15.1 2021-12-25 17:58:07 +00:00
miranda miranda: add meta.mainProgram 2021-09-10 14:46:48 -05:00
mit-scheme mit-scheme: set MITSCHEME_LIBRARY_PATH properly 2021-09-15 05:38:03 +03:00
mkcl mkcl: cleanup 2021-07-30 10:27:09 +02:00
mlkit mlkit: 4.5.7 -> 4.5.9 2021-09-23 04:28:19 +00:00
mlton mlton: disable parallel build 2022-02-02 12:21:29 +01:00
mono mono6: 6.12.0.90 -> 6.12.0.122 2021-08-17 14:13:44 +08:00
mosml mosml: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
mozart mozart2: pin boost to most recent supported version (#151576) 2021-12-21 11:43:24 -05:00
mruby
mrustc
muon
myrddin myrddin: mark as broken on darwin 2022-02-16 15:06:20 -05:00
nasm
neko
nextpnr nextpnr: 2021.15.21 -> 2022.01.03, with apycula update 2022-01-06 09:19:29 -06:00
nim nim: 1.6.2 -> 1.6.4 2022-02-22 09:14:28 -06:00
nvidia-cg-toolkit
obliv-c treewide: remove meta.version 2021-07-18 00:07:38 +02:00
ocaml ocaml 4.10/4.11: fix build w/glibc-2.34 2022-02-27 10:25:39 +01:00
odin odin: init at 0.13.0 2021-07-05 22:52:59 +02:00
opa
open-watcom open-watcom-v2-unwrapped: unstable-2021-12-10 -> unstable-2022-01-18 2022-01-19 07:09:31 +00:00
opendylan pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
openjdk openjdk11: fix build w/glibc-2.34 2022-02-27 10:25:39 +01:00
openspin
ophis
oraclejdk Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
orc orc: disable a benchmark test on x86_64-darwin 2022-01-22 08:26:56 +01:00
osl osl: fix build by overriding llvm-as path 2021-09-18 20:00:48 +01:00
owl-lisp
paco
pakcs haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
passerine passerine: 0.9.2 → 0.9.3 2022-02-20 00:50:50 +01:00
pforth
picat
polyml polyml*: fix build w/glibc-2.34 2022-02-27 10:26:51 +01:00
ponyc pony-corral: 0.5.3 -> 0.5.4 2021-10-08 17:11:29 -04:00
purescript purescript: 0.14.5 -> 0.14.6 2022-02-26 14:55:50 +00:00
qbe qbe: unstable-2021-11-22 -> unstable-2021-12-05 2022-01-21 01:30:07 +00:00
rasm rasm: Fix the source URL 2021-07-21 10:23:35 +02:00
reason maintainers: remove superherointj 2021-11-02 18:22:31 -07:00
rgbds rgbds: 0.5.1 -> 0.5.2 2022-01-03 11:28:52 +01:00
roslyn roslyn: Update dependencies 2021-11-16 15:54:20 +01:00
rust rust: 1.58.1 -> 1.59.0 2022-02-25 01:22:29 +00:00
sagittarius-scheme sagittarius-scheme: 0.9.7 -> 0.9.8 2021-10-29 02:04:30 +00:00
sbcl treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
scala scala: 2.13.7 -> 2.13.8 2022-01-13 12:44:50 -05:00
scala-runners treewide: fix /bin/coursier references 2021-10-28 19:48:29 -05:00
scryer-prolog scryer-prolog: update dependency lexical-core to fix build 2021-10-23 21:32:11 +02:00
sdcc sdcc: honour dontStrip 2021-08-09 22:10:14 +02:00
seexpr seexpr: fmt 2021-11-16 23:39:27 +01:00
serpent remove chris-martin from maintainer list on various crypto packages 2021-06-06 02:38:34 -06:00
shaderc libtool: add meta.platforms and make cctools Darwin only 2021-11-22 09:42:23 -08:00
sjasmplus sjasmplus: 1.18.2 -> 1.18.3 2021-09-14 23:10:43 +00:00
smlnj smlnjBootstrap: move dependents over to regular smlnj 2021-06-28 10:50:56 +01:00
solc various: cleanup of "inherit version;" 2021-07-17 22:39:35 +02:00
souffle souffle: pull pending upstream inclusion fix for ncurses-6.3 2021-11-19 17:53:24 +00:00
spasm-ng
spirv-llvm-translator spirv-llvm-translator: 8.0.1-2 -> 2021-06-13 2021-10-23 22:24:06 +02:00
squeak
stalin development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
swi-prolog swi-prolog: 8.3.9 -> 8.3.29 2021-09-07 23:09:12 -05:00
swift swift: 5.5.2 -> 5.5.3 2022-02-09 22:23:06 -08:00
terra treewide: fix redirected URLs 2021-08-01 00:01:50 +07:00
teyjus teyjus: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
tinycc tinycc: unstable-2021-10-09 -> 0.9.27+date=2022-01-11 2022-01-14 00:15:29 -03:00
tinygo
tvm tvm: 0.7.0 -> 0.8.0 2022-02-13 11:13:22 +00:00
uasm uasm: init at 2.53 2022-01-29 23:31:01 -03:00
unison unison-ucm: add aarch64-darwin support 2022-01-29 07:04:58 -05:00
urn
urweb
vala Merge staging-next into staging 2022-02-22 12:02:54 +00:00
vlang vlang: weekly.2021.25 -> 2021.51 2021-12-21 15:43:10 -05:00
vyper vyper: remove unused postPatch and add setuptools-scm 2022-01-14 17:05:10 +07:00
wcc
wla-dx
x11basic
xa xa: 2.3.11 -> 2.3.12 2022-01-04 01:57:33 -03:00
yap Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
yasm yasm: fix cross build 2021-12-05 10:47:44 +01:00
yosys yosys: Add yosys-symbiflow-plugins 2022-01-08 14:48:28 +00:00
z88dk
zasm
zig zig: 0.9.0 -> 0.9.1 2022-02-16 21:29:52 -03:00
zulu zulu: 11.50.19 -> 11.52.13 2022-01-13 17:38:30 +08:00
zz zz: unstable-2021-03-07 -> unstable-2021-05-04 2021-10-12 12:58:26 +02:00