OpenBSD 6.4 requires stack pages to be mapped with MAP_STACK. Golang added support in 1.11 [1] but 1.4, which we need for bootstrapping, does not support it and consequently segfaults in go_bootstrap. Patches imported from the OpenBSD ports tree since the 1.11 changes don't apply to 1.4. [1] https://github.com/golang/go/issues/26142 Sijmen J. Mulder
Attachment:
go14-openbsd6.4.patch
Description: Binary data