https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83314
--- Comment #3 from Ian Lance Taylor <ian at airs dot com> --- Ah, of course. Thanks. In that case mmap is being called with a descriptor that is the executable itself, as opened by fileline_initialize in libbacktrace/fileline.c. I wonder why mmap fails on that? Can you debug?