https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67874
--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Wed Oct 7 17:22:08 2015 New Revision: 228576 URL: https://gcc.gnu.org/viewcvs?rev=228576&root=gcc&view=rev Log: PR go/67874 net, runtime: Call C library fcntl function rather than syscall.Syscall. Not all systems define a fcntl syscall; some only have fcntl64. Fixes GCC PR go/67874. Reviewed-on: https://go-review.googlesource.com/15497 Modified: trunk/gcc/go/gofrontend/MERGE trunk/libgo/go/net/fd_unix.go trunk/libgo/runtime/go-varargs.c