https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88060
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- Can you attach the contents of sparc-unknown-linux-gnu/libgo/gen-sysinfo.go from your build directory? Does the C header file <fcntl.h> on your system define AT_FDCWD? (It normally comes from <bits/fcntl-linux.h>.) If not, why not? Where is it defined?