https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116948

            Bug ID: 116948
           Summary: bootstrap-ubsan should set UBSAN_OPTIONS to abort on
                    error
           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: ---

This is very similar to PR116947.

We should add UBSAN_OPTIONS="abort_on_error=1" (or halt_on_error=1 if desired)
in bootstrap-ubsan.

We may also want to do:
ASAN_OPTIONS='halt_on_error=1:abort_on_error=1:print_summary=1'
UBSAN_OPTIONS='halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1'

Note that the ASAN default behaviour is OK here IIRC but might be good to be
explicit.

Reply via email to