[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include <sys/mman.h>

j at uriah dot heep.sax.de gcc-bugzilla@gcc.gnu.org
Sun Feb 20 13:40:18 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289

--- Comment #18 from Joerg Wunsch <j at uriah dot heep.sax.de> ---
(In reply to rudi from comment #17)

> The issue is still there during the bootstrap build, but maybe
> --disable-gcov might help you in your cross compile toolchain too.

Yes, --disable-gcov does help as well.

I just wasn't sure whether having gcov support might make sense on a
cross-compiler or not, and as the FreeBSD port did have it enabled before, I
was merely tempted to do it that way.

But yes, it's probably questionable whether anyone would really run gcov on an
AVR. ;-)


More information about the Gcc-bugs mailing list