https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535
--- Comment #22 from Curtis Hamilton <clhamilto at gmail dot com> --- I've made progress in getting the go frontend to build, but have run into the following error: In file included from /usr/ports/lang/gcc7/work/gcc-7.4.0/libgo/runtime/runtime.h:113:0, from /usr/ports/lang/gcc7/work/gcc-7.4.0/libgo/go/reflect/makefunc_ffi_c.c:5: ./runtime.inc:779:17: error: field '_kern' has incomplete type struct __usem2 _kern; ^~~~~ In file included from /usr/ports/lang/gcc7/work/gcc-7.4.0/libgo/runtime/runtime.h:113:0, from /usr/ports/lang/gcc7/work/gcc-7.4.0/libgo/go/bytes/indexbyte.c:9: ./runtime.inc:779:17: error: field '_kern' has incomplete type struct __usem2 _kern; ^~~~~ gmake[6]: *** [Makefile:3342: bytes/index.lo] Error 1 gmake[6]: *** Waiting for unfinished jobs.... I can't find any reference to "_kern" elswhere in the code. Can someone help?