9 Commits

Author SHA1 Message Date
jsing
003c056593 Make go-bootstrap work with MAP_STACK. 2018-04-05 17:47:30 +00:00
jsing
1a55b21fec Update lang/go-bootstrap.
The new upstream version (20171003) has all of the patches that we need to
run on OpenBSD.
2017-11-28 16:25:43 +00:00
jsing
0f53ccab70 Switch lang/go-bootstrap to use the go1.4 release tarball.
Upstream is providing a tarball of the release-branch.go1.4 git branch,
which contains minor fixes to keep Go 1.4 building on current platforms.
Most of the patches that we currently have for lang/go-bootstrap have
now been committed upstream.

The current go1.4 release tarball contains one of the patches and most of
the remaining patches will be removed when a new release tarball becomes
available.

ok sthen@
2017-10-10 14:57:06 +00:00
jsing
e3a5a8a168 Make lang/go-bootstrap regress pass again:
- More effectively disable cgo so that cgo tests are not attempted
  (backported from the go 1.4 release branch).

- Implement the __guard_local hidden symbol workaround.

- Skip two time related tests that are dependent on external timezone
  data dependencies.
2017-10-08 15:40:56 +00:00
jsing
dd096f8298 Build lang/go-bootstrap without enabling cgo.
This functionality is not required for bootstrapping lang/go - disabling
it reduces future maintenance and allows it to build with clang.
2017-06-04 17:50:16 +00:00
jsing
4db071d1b8 Update lang/go-bootstrap to handle the sys_thrkill/sys_kill change.
Partially based on a diff from Ray Lai.
2016-06-27 15:54:58 +00:00
jsing
5b27107ee2 Fix a bug in the Go openbsd/386 linker, which results in symbols in the
dynamic symbol table being emitted with a size of zero. With a current
ld.so, this results in symbol mismatch warnings.

Also, stop using sigreturn from the Go openbsd/386 signal trampoline.
Instead just return directly from the trampoline (as we already do for Go
on openbsd/amd64).
2016-05-11 15:53:26 +00:00
czarkoff
f7c3c0505e Set INSTALL_STRIP= for go ports
OK ajacoutot@, sthen@
2016-05-05 10:46:50 +00:00
jsing
5ce9d57a02 Import lang/go-bootstrap - this is a version of Go that builds natively on
OpenBSD and can be used to bootstrap later versions of Go (1.5+) that
require an existing Go compiler to build. It exists for bootstrapping
lang/go and is not intended for general use or distribution.

Discussed with sthen@, jasper@

ok jasper@
2015-12-04 17:19:18 +00:00