[Scummvm-git-logs] scummvm master -> 0318b6b7ba863c7f5ee3a68b08d5a8251a9ce5b3

rsn8887 noreply at scummvm.org
Thu Dec 19 22:12:29 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0318b6b7ba BUILD: On PSP use -O1 to fix crash on startup


Commit: 0318b6b7ba863c7f5ee3a68b08d5a8251a9ce5b3
    https://github.com/scummvm/scummvm/commit/0318b6b7ba863c7f5ee3a68b08d5a8251a9ce5b3
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2024-12-19T16:07:36-06:00

Commit Message:
BUILD: On PSP use -O1 to fix crash on startup

When built with -O2, the new path handling from commit
93a8f7f4d652edc1ed90deefd88e3233f1560eec causes the PSP to crash
on loading kbd.zip. This can be reproduced in PPSSPP emulator.
The fact that -O1 fixes this problem probably indicates some
undefined behavior.

Changed paths:
    configure


diff --git a/configure b/configure
index b490265b5b9..7dfc2eaa886 100755
--- a/configure
+++ b/configure
@@ -3377,7 +3377,7 @@ EOF
 		add_line_to_config_h "#define PREFIX \"${prefix}\""
 		;;
 	psp)
-		_optimization_level=-O2
+		_optimization_level=-O1
 		_freetypepath="$PSPDEV/psp/bin"
 		append_var CXXFLAGS "-I$PSPSDK/include"
 		# FIXME: Why is the following in CXXFLAGS and not in DEFINES? Change or document this.




More information about the Scummvm-git-logs mailing list