https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99406
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2021-03-05 Status|UNCONFIRMED |ASSIGNED --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > gcc/system.h has: > #ifndef MAP_FAILED > # define MAP_FAILED ((void *)-1) > #endif > > #if !defined (MAP_ANONYMOUS) && defined (MAP_ANON) > # define MAP_ANONYMOUS MAP_ANON > #endif > > so I think libgcov.h needs to do that too. Yes, mine.