Hi Jacek,
I'm encountering an internal compiler error when using GCC 10.1 or 10.2 to try and build Wine Gecko 2.47.1. Have you seen this already?
In file included from /builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1/widget/windows/WinIMEHandler.cpp:26, from /builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1-x86/widget/windows/Unified_cpp_widget_windows0.cpp:110: /usr/i686-w64-mingw32/sys-root/mingw/include/cfgmgr32.h: At global scope: /usr/i686-w64-mingw32/sys-root/mingw/include/cfgmgr32.h:19: internal compiler error: in linemap_compare_locations, at libcpp/line-map.c:1359 19 | typedef CONST VOID *PCVOID; | Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[3]: *** [/builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1/config/rules.mk:966: Unified_cpp_widget_windows0.o] Error 1
Thanks, Michael
Hi Michael,
On 29.07.2020 20:23, Michael Cronenworth wrote:
Hi Jacek,
I'm encountering an internal compiler error when using GCC 10.1 or 10.2 to try and build Wine Gecko 2.47.1. Have you seen this already?
In file included from /builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1/widget/windows/WinIMEHandler.cpp:26, from /builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1-x86/widget/windows/Unified_cpp_widget_windows0.cpp:110: /usr/i686-w64-mingw32/sys-root/mingw/include/cfgmgr32.h: At global scope: /usr/i686-w64-mingw32/sys-root/mingw/include/cfgmgr32.h:19: internal compiler error: in linemap_compare_locations, at libcpp/line-map.c:1359 19 | typedef CONST VOID *PCVOID; | Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[3]: *** [/builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1/config/rules.mk:966: Unified_cpp_widget_windows0.o] Error 1
Thanks for the report. I haven't yet updated my mingw GCC to 10 yet, so I didn't see the problem myself. Please report it to GCC, internal compiler errors are always compiler's fault and there is not much I can do. It seems that GCC support for Windows target is broken on every major release.
FWIW, I plan to port Wine Gecko to llvm-mingw and do my build with that for the next release. Upstream Firefox uses clang for mingw builds for quite a while now and it proved to be way more reliable. (GCC will obviously continue to work, at least its non-broken versions).
Thanks,
Jacek
On 7/30/20 8:29 AM, Jacek Caban wrote:
FWIW, I plan to port Wine Gecko to llvm-mingw and do my build with that for the next release. Upstream Firefox uses clang for mingw builds for quite a while now and it proved to be way more reliable. (GCC will obviously continue to work, at least its non-broken versions).
Thanks for the information. Fedora does not ship clang for MinGW so I will have to continue to use GCC.