https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Ian Lance Taylor <ian at airs dot com> --- I've committed a version of your patch, which I hope will fix all the problems. Please let me know if not. One change to your patch in particular was that we shouldn't need a C version of __go_openat64. It should suffice to use just __go_openat, since the C code should call the right function anyhow. The bug was that libgo/go/internal/syscall/unix/at.go was referring to openat when it should have been referring to __go_openat.