https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- RISCV is the only (modern) target which does not have HAVE_AS_LEB128 defined really; see PR 91602 for the reasons why.