-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MinGW-GCC internal compiler error on Windows x86_32 with LTO enabled #92585
Comments
I found this while building 4.3-beta1 and couldn't find a quick fix, so for that build I'm going to release Windows 32-bit builds without LTO. But we should find a workaround for beta2 ideally. |
I still have this error in the current
On the other hand it's not reproducible in a |
So I didn't do a full investigation but the quick conclusion is that the MinGW/GCC/binutils combo in Fedora 39 has a bug. The easy solution is to update our containers to Fedora 40, which has newer versions of those packages and fixes that bug. So I'm doing this for 4.3-beta2. |
I encountered the same issue using Ubuntu 24.04 GitHub runner and 4.3-stable. Just FYI, no need to reopen.
|
Tested versions
Vector*
min/max/clamp/snap(ped)
#89114System information
Fedora 39, MinGW-GCC 13.2.1
Issue description
I don't know why yet, but MinGW-GCC LTO builds failed for Windows x86_32 shortly after 4.3-dev6. I bisected it to #89114.
When building with
scons platform=windows arch=x86_32 target=editor production=yes
, I ran into one of several possible linking issues:Or outright:
Somehow #89114 is triggering a bug in GCC LTO.
Steps to reproduce
scons platform=windows arch=x86_32 target=editor production=yes
Minimal reproduction project (MRP)
n/a
The text was updated successfully, but these errors were encountered: