godotengine / godotengine/build-containers

[3.x] MinGW-GCC 14.2.1 from Fedora 42 causes Windows editor crashes (AssetLib, installing export templates)

Open
#157 1 comment 1 reaction 1 assignee Claimed by @akien-mga View on GitHub
Dominant language
Shell
Stars
292
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Follow-up to:
- #156
- https://github.com/godotengine/godot/issues/111979
- https://github.com/godotengine/godot/issues/112021

It turns out that the upgrade from Fedora 39 to Fedora 42 (thus updating MinGW-GCC) introduced a regression for Windows builds on the 3.6.2-stable release.

We then rebuilt 3.6.2-stable Windows binaries with the previous Fedora 39-based container to work it around. But this needs to be investigated so we can go back to Fedora 42 (we also have an inconsistent state for 3.6.2-stable and potential future builds as we need some of the changes from the Fedora 42-based images to build Android and Apple platforms at least).

The issue happens only with builds made with LTO (`production=yes`). This isn't the first time we have such issue and in the past it could be traced back to either GCC or binutils bugs specifically affecting MinGW/Win32.

Potential options:
- Test if MinGW-GCC 15.2.1 in Fedora 43 works better.
- Figure out the MinGW-GCC bug and patch it.
- Revert the Windows image to Fedora 39, or install its MinGW-GCC version directly on Fedora 42 (or any earlier version that works, could be Fedora 40 or 41 if it's tested).
- Switch to llvm-mingw if it's tested to work better.

CC @lawnjelly FYI. This needs to be resolved one way or another for 3.7-dev1 and 3.6.3-stable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.