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
This commit is contained in:
parent
42cd6aebe4
commit
e419aa8283
@ -71,7 +71,7 @@ in stdenv.mkDerivation {
|
||||
${lib.optionalString sanitizersWorking ''
|
||||
printf "checking whether sanitizers are fully functional... ">&2
|
||||
$CC -o sanitizers -fsanitize=address,undefined ${./sanitizers.c}
|
||||
${emulator} ./sanitizers
|
||||
ASAN_OPTIONS=use_sigaltstack=0 ${emulator} ./sanitizers
|
||||
''}
|
||||
|
||||
touch $out
|
||||
|
Loading…
Reference in New Issue
Block a user