On 16 January 2018 at 13:41, Paolo Bonzini <pbonz...@redhat.com> wrote: > On 16/01/2018 13:06, Peter Maydell wrote: >>> ASAN is enabled by default if available when --enable-debug. We could >>> add more flags if that helps. >> Configure switches should work like this: >> * default: use feature if present, but don't complain if not present >> or not usable >> * --enable-foo: use feature. if feature not present, complain and >> fail configure >> * --disable-foo: don't test for or use feature >> > > However, --enable-debug has never worked like this (the "default" part)...
True, but -g, no optimization isn't really something we want to default to :-) I think the general principle that unless the user specifically said they cared about the address sanitizer we shouldn't complain if it happens not to work on this host is still a good one. thanks -- PMM