Summary: | cross-x86_64-w64-mingw32/gcc-11.2.0: fatal error: sys/mman.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Beddek <telans> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | proteuss, sam, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=617766 https://bugs.gentoo.org/show_bug.cgi?id=843989 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
cross-x86_64-w64-mingw32-info.log
cross-x86_64-w64-mingw32-gcc-stage1.log.xz gcc-config.logs.tar.xz |
Created attachment 756979 [details]
cross-x86_64-w64-mingw32-gcc-stage1.log.xz
Created attachment 756980 [details]
gcc-config.logs.tar.xz
FYI, my emerge.log says that stage1 cross-x86_64-w64-mingw32/gcc-11.1.0 was successfully built on my environment (on Jun 10, 2021). I would recommend you try again with more default-ish USE flags. Or at least with USE=-lto. I've since removed 'lto pgo' from the USE flags, and it still fails for 11.2.0. This is just a bootstrapping failure as known in the upstream bug. Bootstrapping succeeds for 10.3.0-r2, but I'm running into another old bug: https://bugs.gentoo.org/827923 https://bugs.gentoo.org/513706 Cheers |
Created attachment 756978 [details] cross-x86_64-w64-mingw32-info.log In file included from /var/tmp/portage/cross-x86_64-w64-mingw32/gcc-11.2.0/work/gcc-11.2.0/libgcc/libgcov-merge.c:26: /var/tmp/portage/cross-x86_64-w64-mingw32/gcc-11.2.0/work/gcc-11.2.0/libgcc/libgcov.h:49:10: fatal error: sys/mman.h: No such file or directory 49 | #include <sys/mman.h> | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:921: _gcov_merge_add.o] Error 1