https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281
--- Comment #6 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- On gcc-7, we actually can't build when enabling the Go frontend: libtool: compile: /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgfortran -iquote../../../src/libgfortran/io -I../../../src/libgfortran/../gcc -I../../../src/libgfortran/../gcc/config -I../.././gcc -I../../../src/libgfortran/../libgcc -I../libgcc -I../../../src/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -MT minloc1_16_r4.lo -MD -MP -MF .deps/minloc1_16_r4.Tpo -c ../../../src/libgfortran/generated/minloc1_16_r4.c -o minloc1_16_r4.o >/dev/null 2>&1 go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:2002 mmap: Permission denied Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. Makefile:3338: recipe for target 'runtime/internal/sys.lo' failed But first it would be great to get the gcc-6 issue resolved since it will be the default compiler until gcc-7 actually gets released.