Message ID | f97c3215024ca9f2754b974215211c95050b39aa.1730409074.git.sam@gentoo.org |
---|---|
State | New |
Headers | show |
Series | [1/2] doc: install: document bootstrap-ubsan | expand |
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 85896721a0ac..188ce4ba964a 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3153,7 +3153,9 @@ systems that are running Linux kernel version 5.4 or later. @item @samp{bootstrap-ubsan} Compiles GCC itself using Undefined Behavior Sanitization in order to catch -undefined behavior within the GCC code. +undefined behavior within the GCC code. Note that it does not abort on errors +by default. @code{UBSAN_OPTIONS} can be set to change this, like +@samp{UBSAN_OPTIONS='abort_on_error=1:print_summary=1:print_stacktrace=1'}. @end table