Message ID | 20240813095216.306555-1-richard.henderson@linaro.org |
---|---|
Headers | show |
Series | meson: Rationalize sanitizer configuration | expand |
Ping. On 8/13/24 02:52, Richard Henderson wrote: > In the CI that we actually run (x86) we don't want to use ASan, > only UBSan, we jump through --extra-cflags hoops to make that > happen, and we fail to disable function sanitizer during normal > configuration. > > In the CI that we don't run, we enable ASan and fail to disable > function sanitizer. So its a bit lucky that don't run it. > > Split the --enable-santizers config option, and move stuff back > to meson.build from .gitlab-ci.d. > > > r~ > > > Richard Henderson (2): > meson: Split --enable-sanitizers to --enable-{asan,ubsan} > meson: Move -fsanitize=undefined into normal configuraton > > tests/qtest/fdc-test.c | 2 +- > .gitlab-ci.d/buildtest.yml | 10 +++---- > .../custom-runners/ubuntu-22.04-aarch64.yml | 2 +- > .../custom-runners/ubuntu-22.04-s390x.yml | 2 +- > docs/devel/fuzzing.rst | 4 +-- > meson.build | 26 ++++++++++++++----- > meson_options.txt | 6 +++-- > scripts/meson-buildoptions.sh | 9 ++++--- > tests/docker/test-debug | 4 +-- > 9 files changed, 41 insertions(+), 24 deletions(-) >
On 13/08/2024 11.52, Richard Henderson wrote: > In the CI that we actually run (x86) we don't want to use ASan, > only UBSan, we jump through --extra-cflags hoops to make that > happen, and we fail to disable function sanitizer during normal > configuration. > > In the CI that we don't run, we enable ASan and fail to disable > function sanitizer. So its a bit lucky that don't run it. > > Split the --enable-santizers config option, and move stuff back > to meson.build from .gitlab-ci.d. Reviewed-by: Thomas Huth <thuth@redhat.com> and queued.