-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: add support for FreeBSD 12 #22447
Comments
I compiled successfully Go 1.10 on FreeBSD 12 / arm. Basic programs seem to work for me: is there anything notably broken? |
I don't know the detail of your basic program and your kernel configuration. See #22448. What happens when the kernel is built without a series of compat flags such as WANT_FREEBSD11_DIRENT? |
I think it's safe not to switch to the new APIs and require Rust are explicitly linking to the old symbol versions to handle the FreeBSD 12 changes: Also note that all the ARM kernel configs, even ARMv4/5 which we don't even support - have
https://github.com/freebsd/freebsd/blob/75c7e3b2102b9ecddae188b1c7b60057f87ffdd3/sys/arm/conf/std.arm#L5-L6 Unlike the amd64 GENERIC kernel, which has all COMPAT_* options turned on:
|
Can you please file a separate issue for your concern about kevent? |
@mikioh I don't think there's a need for another issue, core doesn't use EVFILT_TIMER so the new absolute timer API won't be used anyhow. We can continue using to the current ( |
Would you mind adding a note to doc/go1.12.html (and detailed information in https://github.com/golang/go/wiki/FreeBSD) to clarify the requirements for running Go 1.x on FreeBSD 12-STABLE kernels? |
@mikioh I've updated the wiki. I see there's a syscall section in doc/go1.12.html (autogenerated?) from Brad's 'RELNOTE=FreeBSD breakages in syscall, use build tags' comment in the CL. I'll update it as well. |
Change https://golang.org/cl/160778 mentions this issue: |
Fixes golang#22447 Fixes golang#22448 Change-Id: Ia24f42c31e014c79040ff927f1247dfb2318de4f Reviewed-on: https://go-review.googlesource.com/c/160778 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Fixes golang#22447 Fixes golang#22448 Change-Id: Ia24f42c31e014c79040ff927f1247dfb2318de4f Reviewed-on: https://go-review.googlesource.com/c/160778 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This is a meta bug for tracking the status of the issues for supporting FreeBSD 12. FreeBSD 12, which will be released in CY18, will contain a few breaking changes on ABI and a few packages in standard library (and probably x/sys/unix repository) need to find out some good way to fill the ABI gap between FreeBSD 11 or below and FreeBSD 12 or above.
The text was updated successfully, but these errors were encountered: