https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535
--- Comment #18 from Curtis Hamilton <clhamilto at gmail dot com> --- Created attachment 46412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46412&action=edit Patch to fix undefined types in sysinfo.go and runtime_sysinfo.go This patch resolves many of the undefines with the exception of _thread, __umtx_time and vsdoTimekeep. There is also an error in os_freebsd.go that needs to be fixed: @@ -12,7 +12,7 @@ //go:noescape //extern _umtx_op -func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uinptr, ts *umtx_time) int32 +func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uintptr, ts *__umtx_time) int32 func getPageSize() uintptr { mib := [2]uint32{_CTL_HW, _HW_PAGESIZE} However, new undefines appear. With all the errors, has anyone been successfully in building the go frontend?