[Bug bootstrap/87146] ubsan bootstrap with non-gcc compiler fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87146 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- With bootstrap-ubsan only stage2/stage3 are built with -fsanitize=undefined, so most likely clang just miscompiled something.
[Bug bootstrap/87146] ubsan bootstrap with non-gcc compiler fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87146 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* --- Comment #1 from Richard Biener --- There is nothing special about a non-GCC host compiler bootstrap. Does clang default to optimizing? If so try bootstrapping with STAGE1_CFLAGS="-O0"