project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - APL

Pages: [1]
1
Discussion / Optimization of RC3 linux bin from SF...
« on: August 16, 2006, 05:38:04 pm »
Hi.

I just got RC3 from SourceForge. Tried to run it but the game was killed with SIGILL. :-(

IMHO you should use generic i686 optimalization for official builds.

$ gdb ./ufo
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /home/aszojda/Gry/ufoai/ufo
[Thread debugging using libthread_db enabled]
[New Thread -1484642624 (LWP 31963)]
Adding game dir: ./base
using /home/aszojda/.ufoai/base for writing
Adding game dir: /home/aszojda/.ufoai/base
execing default.cfg
couldn't exec config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------

Program received signal SIGILL, Illegal instruction.
[Switching to Thread -1484642624 (LWP 31963)]
0x080a6cd8 in SNDDMA_Init (s=0x19d17e00) at linux/snd_linux.c:44
44      linux/snd_linux.c: No such file or directory.
        in linux/snd_linux.c
(gdb)

The offending instruction is movss:

0x080a6cd8 <SNDDMA_Init+56>:    movss  0x14(%eax),%xmm0

This is SSE instruction. I'm on ancient Athlon1200 without SSE support... :-(

$ cat /proc/cpuinfo  | grep ^flags
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up

Is there somewhere source package of RC3 so I can build it for this CPU? Or should I wait for RC4?

A.

Pages: [1]