https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840
--- Comment #2 from Ken Jin <kenjin4096 at gmail dot com> --- @Sam James Passing CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" to the configure fixes the crash for me, does it do the same for you? If so this is probably a pretty big hint.