https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99406
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:73a9216b8a47889234c94e3aaec193391ee6604d commit r11-7543-g73a9216b8a47889234c94e3aaec193391ee6604d Author: Jakub Jelinek <ja...@redhat.com> Date: Sat Mar 6 16:22:27 2021 +0100 libgcov: Fix build on Darwin [PR99406] As reported, bootstrap currently fails on older Darwin because MAP_ANONYMOUS is not defined. The following is what gcc/system.h does, so I think it should work for libgcov. 2021-03-06 Jakub Jelinek <ja...@redhat.com> PR gcov-profile/99406 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is defined, define these macros if not defined already.