> do you have any other (system) version of GCC, configured without > --disable-libsanitizer?
Nope. > 2) Make check_effective_target_fsanitize_address not only link dummy > executable, but also run it and verify that exit code equals zero. Yes, probably something along these lines, or restore the previous logic. -- Eric Botcazou