https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70416
--- Comment #5 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to John Paul Adrian Glaubitz from comment #3) > (In reply to Oleg Endo from comment #1) > > You could try to compile the package with -mlra and see if it helps. > > I'm giving that a try now and will report back shortly. Ok, first feedback, -mlra helps indeed: (sid-sh4-sbuild)root@z6:/build/ruby2.3-_2wIP6/ruby2.3-2.3.0# gcc -mlra -mieee -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I.ext/include/sh4-linux-gnu -I./include -I. -o vm.o -c vm.c (sid-sh4-sbuild)root@z6:/build/ruby2.3-_2wIP6/ruby2.3-2.3.0# ls -l vm.o -rw-r--r-- 1 root root 1364948 Mar 26 16:45 vm.o (sid-sh4-sbuild)root@z6:/build/ruby2.3-_2wIP6/ruby2.3-2.3.0# I'm creating the intermediate files now, just a second.