| Summary: | cross-x86_64-w64-mingw32/gcc-9.2.0 - In file included from .../work/gcc-9.2.0/libgcc/../gcc/tsystem.h:44, from .../work/gcc-9.2.0/libgcc/libgcc2.c:27: .../work/build/gcc/include/stddef.h:1:15: fatal error: stddef.h: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Harrison Thorne <harrison.thorne> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | crossdev |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cross-x86_64-w64-mingw32-gcc-stage1 log
cross-x86_64-w64-mingw32-info log cross-x86_64-w64-mingw64-gcc-stage1 log cross-i686-w64-mingw32-gcc-stage1 log |
||
Created attachment 589390 [details]
cross-x86_64-w64-mingw32-info log
Created attachment 589392 [details]
cross-x86_64-w64-mingw64-gcc-stage1 log
Created attachment 589394 [details]
cross-i686-w64-mingw32-gcc-stage1 log
*** Bug 693770 has been marked as a duplicate of this bug. *** Probably a fallout from https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=7283a01fc3dd7523793c28d8acd04ce7fd049389 Try 'crossdev --with-headers -t x86_64-w64-mingw32' as a workaround. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=090d76eaa97df4429e3e06c0811d758045539783 commit 090d76eaa97df4429e3e06c0811d758045539783 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-09-08 11:14:42 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-09-08 11:14:42 +0000 crossdev: reenable --with-headers for mingw targets gcc can't build libgcc2.c on --without-headers setup. Needs more investigation. Reported-by: Kyle Elbert Bug: https://bugs.gentoo.org/693770 Bug: https://bugs.gentoo.org/693730 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> crossdev | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542cefd7c9fbcbea8d86e19da07d3576df2d6f97 commit 542cefd7c9fbcbea8d86e19da07d3576df2d6f97 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-09-08 11:19:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-09-08 11:21:50 +0000 sys-devel/crossdev: bump up to 20190908 reenable --with-headers for mingw targets gcc can't build libgcc2.c on --without-headers setup. Needs more investigation. Reported-by: Kyle Elbert Closes: https://bugs.gentoo.org/693770 Closes: https://bugs.gentoo.org/693730 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20190908.ebuild | 36 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) |
Created attachment 589388 [details] cross-x86_64-w64-mingw32-gcc-stage1 log I'm trying to build the x86_64-w64-mingw32 toolchain built on my system to compile the Windows/WINE component of github.com/falkTX/carla. But it fails while emerging cross-gcc-stage1. After running either of the following commands: ``` # crossdev -S --target x86_64-w64-mingw32 # crossdev -t x86_64-w64-mingw32 ``` the error message returned is: ``` error: gcc failed :( ``` I have the following in /etc/portage/package.accept_keywords: ``` cross-i686-w64-mingw32/mingw64-runtime ~amd64 cross-x86_64-w64-mingw32/mingw64-runtime ~amd64 ``` I have configured crossdev to use its own, separate overlay. I've also tried `crossdev -C` before trying again, and that didn't fix the issue. As requested by the error message, appropriate logs have been attached for a few different targets that have all failed. I'll be happy to provide further information if I'm able. Thank you for taking a look at this! It will be extremely beneficial to me personally if we can work this out.