https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83314
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- errno 9 is EBADF, which doesn't make much sense since libgo only ever calls mmap with MAP_ANONYMOUS. And I'm not even sure where those messages are coming from. I don't see any place where the GCC 7 libgo will print "mmap errno" or "fatal error: mmap".