GodMode9 icon indicating copy to clipboard operation
GodMode9 copied to clipboard

GodMode9 compiled with gcc 14.1.0 hangs at boot

Open profi200 opened this issue 9 months ago • 1 comments

As discussed on the server here is the issue.

How to reproduce: Compile GodMode9 with devkitARM r64 (gcc 14.1.0) and try to boot it from Luma3DS or fastboot3DS. It will hang on blackscreens (no backlight). Have not tried to compile under Windows so can't say for sure if the behavior differs but i doubt it. It's likely undefined behavior somewhere that gets detected and optimized in a way that breaks the code.

Probably unrelated to the actual issue this new warning popped up:

lto-wrapper: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/14.1.0/../../../../arm-none-eabi/bin/ld: warning: arm9.elf has a LOAD segment with RWX permissions

profi200 avatar May 21 '24 08:05 profi200