On 10 Jul 2007, at 14:38, Martin Schreiber wrote:

Every program compiled with fixes_2_2 rev. 8006 crashes
in gdb:
Program received signal SIGILL, Illegal instruction.
0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
(gdb) bt
#0  0x00402091 in SYSTEM_FPC_CPUCODEINIT ()
#1  0x0040a504 in SYSTEM_init ()
#2  0x00406114 in fpc_initializeunits ()
#3  0x7ffdf000 in ?? ()
#4  0x00000000 in ?? ()
(gdb)
"
The programs work without gdb.
System: win2000, PII.
The problem seems not to exist on another PC with win2000 and an AMD Athlon.
Any hints?

The rtl checks on startup whether or not your cpu supports SSE. It does so by executing an SSE instruction, catching the "illegal instruction" exception if it occurs and if so, setting a boolean to false.

So just type "continue" in gdb to continue the program.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to