https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to hubicka from comment #3) > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230 > > > > --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- > > > How do you build ubsan compiler? > > > > F="-O0 -g -fsanitize=undefined" ; make -j16 all-host -k CFLAGS="$F" > > CXXFLAGS="$F" LDFLAGS="$F" > > > > is the fastest approach. > Thanks, it is similar to what I tried. I guess there should be no ";" > but yet it leds to misconfigured libiberty for me on kunlun. I will > look into that. Note that kunlun may have an old system GCC compiler.