Open Swarkin opened 1 month ago
master f032af74536b317b23c7fca3bc7318ced5537344
Windows 11 - Intel i5 9600k
Compilation randomy fails after a while:
[...} Compiling scene\gui\box_container.cpp ... Compiling scene\gui\button.cpp ... Compiling scene\gui\center_container.cpp ... Compiling scene\gui\check_box.cpp ... editor\editor.windows.editor.x86_64.lib : fatal error LNK1248: image size (100764120) exceeds maximum allowable size (FFFFFFFF) Compiling scene\gui\check_button.cpp ... Compiling scene\gui\code_edit.cpp ... Compiling scene\gui\color_mode.cpp ... Compiling scene\gui\color_picker.cpp ... Compiling scene\gui\color_rect.cpp ... Compiling scene\gui\container.cpp ... scons: *** [editor\editor.windows.editor.x86_64.lib] Error 1248 scons: building terminated because of errors. [Time elapsed: 00:08:12.40]
clone godot scons p=windows arch=x86_64 production=yes lto=full target=editor optimize=speed deprecated=no
scons p=windows arch=x86_64 production=yes lto=full target=editor optimize=speed deprecated=no
-
Bisecting points to #93311 as the culprit, @dsnopek
It is the lto=full causing the Error 1248. Builds fine with other build options that dont use lto.
lto=full
Still relevant
Tested versions
master f032af74536b317b23c7fca3bc7318ced5537344
System information
Windows 11 - Intel i5 9600k
Issue description
Compilation randomy fails after a while:
Steps to reproduce
clone godot
scons p=windows arch=x86_64 production=yes lto=full target=editor optimize=speed deprecated=no
Minimal reproduction project (MRP)
-