Wine Gecko compile issues with GCC 10.1+
jacek at codeweavers.com
Thu Jul 30 08:29:36 CDT 2020
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
> /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: ***
> 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
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).
More information about the wine-devel