https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101
--- Comment #5 from Frantisek Sumsal <frantisek at sumsal dot cz> --- (In reply to Martin Liška from comment #4) > Ok, I was able to make the build: > > $ meson build -Db_sanitize=address,undefined -Dxkbcommon=false > > with GCC 9.1.1: > > real 0m2.176s > user 0m2.013s > sys 0m0.160s > > which is probably fast enough. And I can't run the second test-case: > Yes, without any ASAN_OPTIONS the built binary behaves as "expected: --- $ unset ASAN_OPTIONS $ time build-gcc-9.1.0-sanitizers/test-conf-parser <...snip...> = test_config_parse[16] == /tmp/test-conf-parser.cvqFVQ:1: Continuation line too long real 0m2.972s user 0m2.680s sys 0m0.280s --- The real issue arises with ASAN_OPTIONS=detect_stack_use_after_return=1 --- $ export ASAN_OPTIONS=detect_stack_use_after_return=1 $ time build-gcc-9.1.0-sanitizers/test-conf-parser <...snip...> == test_config_parse[16] == /tmp/test-conf-parser.WhLgS1:1: Continuation line too long real 0m29.637s user 0m29.321s sys 0m0.298s --- > $ ./test/hwdb-test.sh > ./systemd-hwdb does not exist, please build first For this particular case you have to cd into the build directory first (cd build && ../test/hwdb-test.sh)