runtime: pipe syscall requires COMPAT_FREEBSD10 on FreeBSD 11 and 12 #42659
Labels
Milestone
Comments
Given that the final supported version for FreeBSD 10 is Go 1.12.4, FreeBSD 10 is EOL and the /cc @ianlancetaylor |
Change https://golang.org/cl/270917 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ ./all.bash
What did you expect to see?
All tests passing.
What did you see instead?
On FreeBSD 12-STABLE with kernel built only with COMPAT_FREEBSD11 as required by wiki [1]:
pipe()
became a wrapper aroundpipe2()
in FreeBSD 11.0, and on FreeBSD 11 and 12 it requires a kernel built with COMPAT_FREEBSD10 [2]. It seems that either:runtime·pipe
needs to be rewritten to be a wrapper aroundruntime·pipe2
, similar to [3][1] https://github.com/golang/go/wiki/FreeBSD
[2] freebsd/freebsd-src@e4ef214
[3] https://github.com/golang/go/blob/master/src/runtime/sys_freebsd_arm64.s#L131
The text was updated successfully, but these errors were encountered: