Bug#779029: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
On 2015-02-25, Markus Koschany wrote: On 23.02.2015 13:44, Konstantinos Margaritis wrote: 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. ... thanks for your report. Unfortunately I cannot verify this issue because I don't currently possess any armhf hardware capable of running ScummVM. Hence I also cannot confirm whether your patch actually solves the issue. I was able to reproduce the bug on a CuBox-i4pro running Debian armhf. Without the patch, scummvm just showed a blank window and eventually crashed. With the patch applied, I was able to play beneath-a-steel-sky, though I didn't test it extensively... :) live well, vagrant -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: armhf (armv7l) Kernel: Linux 3.16.0-4-armmp (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages scummvm depends on: ii libasound21.0.28-1 ii libc6 2.19-13 ii libfaad2 2.7-8 ii libflac8 1.3.0-3 ii libfluidsynth11.1.6-2 ii libfreetype6 2.5.2-2 ii libgcc1 1:4.9.1-19 ii libgl1-mesa-glx [libgl1] 10.3.2-1 ii libjpeg62-turbo 1:1.3.1-11 ii libmad0 0.15.1b-8 ii libmpeg2-40.5.1-6 ii libogg0 1.3.2-1 ii libpng12-01.2.50-2+b2 ii libsdl1.2debian 1.2.15-10+b1 ii libstdc++64.9.1-19 ii libtheora01.1.1+dfsg.1-6 ii libvorbis0a 1.3.4-2 ii libvorbisfile31.3.4-2 ii scummvm-data 1.7.0+dfsg-1.1~20150226~1 ii zlib1g1:1.2.8.dfsg-2+b1 scummvm recommends no packages. Versions of packages scummvm suggests: ii beneath-a-steel-sky 0.0372-5 pn drasculanone pn flight-of-the-amazon-queen none pn fluidsynth | timidity none pn lure-of-the-temptress none -- no debconf information signature.asc Description: PGP signature
Bug#779029: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
forwarded 779029 https://sourceforge.net/p/scummvm/bugs/6810/ thanks On 23.02.2015 13:44, Konstantinos Margaritis wrote: 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. Hello, thanks for your report. Unfortunately I cannot verify this issue because I don't currently possess any armhf hardware capable of running ScummVM. Hence I also cannot confirm whether your patch actually solves the issue. I have forwarded this bug report to https://sourceforge.net/p/scummvm/bugs/6810/. Let's see what the developers think about this and then we will be able to adjust the severity accordingly. Regards, Markus signature.asc Description: OpenPGP digital signature
Bug#779029: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
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' pgpWUEvklsmON.pgp Description: PGP signature