Summary: | cross-x86_64-w64-mingw32/gcc-13.2.1_p20230826 - build error: ‘mutex’ does not name a type; did you mean ‘minutes’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Rossi <rossi.f> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | cross, ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=631460 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge-info.txt.gz |
Description
Fabio Rossi
2023-09-26 12:12:52 UTC
Created attachment 871480 [details]
emerge-info.txt.gz
same problem also with gcc-13.2.1_p20231014 No full build log? Can't tell what configuration got used without it (I'd stick with minimal'ish USE for mingw cross, support is flaky). Anyhow, gcc-13.2.1_p20231014 built fine for me: $ emerge -pvq cross-x86_64-w64-mingw32/gcc [ebuild R ] cross-x86_64-w64-mingw32/gcc-13.2.1_p20231014 USE="cxx fortran nls nptl openmp ssp -ada -cet -custom-cflags -d -debug (-default-stack-clash-protection) -default-znow -doc -fixed-point -go -graphite (-hardened) -ieee-long-double -jit -libssp -lto -modula2 (-multilib) -objc -objc++ -objc-gc (-pch) -pgo (-pie) -sanitize -systemtap -test -valgrind -vanilla -vtv -zstd" Albeit I used gcc:13 to build and haven't tried gcc:12 from your emerge --info, so maybe that's related (may want to try selecting 13). Not that I really plan to look into cross issues myself outside dev-util/mingw64-toolchain, was just giving it a quick try in case it'd be completely broken. I am trying to build as # emerge -pv cross-x86_64-w64-mingw32/gcc [ebuild NS ~] cross-x86_64-w64-mingw32/gcc-13.2.1_p20231014:13::crossdev [9.3.0-r2:9.3.0::crossdev, 10.3.0-r2:10::crossdev, 11.3.0:11::crossdev, 12.3.1_p20230526:12::crossdev] USE="cxx fortran nls nptl openmp ssp -ada -cet -custom-cflags -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point -go -graphite -hardened -ieee-long-double -jit -libssp -lto -modula2% -multilib -objc -objc++ -objc-gc (-pch) -pgo -pie -sanitize -systemtap -test -valgrind -vanilla -vtv -zstd" 0 KiB so it looks like with the same USEFLAGS you are using. I have also tested with gcc-13 without success. I'll try to rebuild the whole toolchain with crossdev by deleting the current one first. I solved finally the problem after reinstalling the full toolchain. Probably the problem was due to the too-old mingw64-runtime version which was 6.0.0-r3 (now is 11.0.0). It works also with gcc-12 |