Package: scummvm
Version: 1.7.0+dfsg-1
Severity: grave
tags: patch

I have been trying to run old scummvm games on an old armhf system, but
it was crashing on load with a segfault.

I tried to debug the application and found that at all times, the
culprit are the arm asm optimizations. Disabling these optimizations
makes scummvm run properly on armhf, at least I was able to run both In
diana Jones and the Fate of Atlantis and Beneath a Steel Sky. I attach
a patch but it's only a suggested method, disabling arm optimizations
for all arm* platforms, in the case of Debian, both armel and armhf.

Regards

-- 
Konstantinos Margaritis
email: mar...@freevec.org, mar...@debian.org
blog: http://freevec.org
gpg: 3FC3 7391 FECD D3CB 5501  7121 6606 027F 6437 124C
Description: Disable arm asm as it breaks on armhf

--- scummvm-1.7.0+dfsg.orig/configure
+++ scummvm-1.7.0+dfsg/configure
@@ -2027,10 +2027,10 @@ echo_n "Checking host CPU architecture..
 case $_host_cpu in
 	arm*)
 		echo "ARM"
-		define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
-		define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
-		define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
-		define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
+		# define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
 		# FIXME: The following feature exhibits a bug during the intro scene of Indy 4
 		# (on Pandora and iPhone at least)
 		#define_in_config_if_yes yes 'USE_ARM_COSTUME_ASM'

Attachment: pgpWUEvklsmON.pgp
Description: PGP signature

Reply via email to