https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70416
--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- Hmm, unfortunately, passing -mlra for the whole build is apparently not a good idea: sprintf.c: In function 'rb_str_format': sprintf.c:1217:1: error: unable to find a register to spill } ^ sprintf.c:1217:1: error: this is the insn: (insn 17497 17498 3766 469 (set (reg:QI 3766) (reg:QI 3767)) /usr/include/sh4-linux-gnu/bits/string3.h:53 273 {*movqi} (expr_list:REG_DEAD (reg:QI 3767) (nil))) sprintf.c:1217: confused by earlier errors, bailing out Preprocessed source stored into /tmp/ccbUbdGW.out file, please attach this to your bugreport. Full build log in [1]. Preprocessed source ccbUbdGW.out is following shortly. Adrian > [1] > https://people.debian.org/~glaubitz/ruby2.3_2.3.0-5_sh4-20160326-1814.build