https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116947
Bug ID: 116947 Summary: --enable-checking=valgrind ignores failures during bootstrap Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Noticed when looking at PR116945. We should pass --exit-on-first-error=yes --error-exitcode=2 (or some other value instead of 2) with --enable-checking=valgrind, otherwise we're accidentally ignoring failures in tools executed during the build. (--trace-children=yes might be a good idea too)