You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenBSD 6.3 rebuild for amd64 (golang/sys@7f59abf) incorrectly removed F_OK (used by access(2)). I'm not sure if all the other changes were correct or not.
I've reviewed all the that were removed in the openbsd/amd64 generated code from golang/sys@7f59abf to master.
It looks like F_OK is the only symbol that was removed that should still be present. Most of the remaining symbols are no longer found under /usr/include/... in OpenBSD 6.3, and a few are not part of the userspace API.
F_OK is defined in sys/unistd.h. I suspect it was implicitly included as a dependency when the code was generated ages ago, but this is no longer the case after OS/compiler header changes. I haven't installed/reviewed old OpenBSD versions to confirm if this is possible, but it's my best guess.
The above CL adds sys/unistd.h to the list of headers which then fixes the code generation.
Status of OpenBSD/amd64 unix package symbols in OpenBSD 6.3:
The OpenBSD 6.3 rebuild for amd64 (golang/sys@7f59abf) incorrectly removed F_OK (used by access(2)). I'm not sure if all the other changes were correct or not.
@FiloSottile @tklauser
The text was updated successfully, but these errors were encountered: