Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Crafty 19.2

Author: Frank Phillips

Date: 12:01:17 01/24/03

Go up one level in this thread


On January 24, 2003 at 13:18:08, Frank Phillips wrote:

>I have a problem with Crafty 19.2.  The code compiles out of the box with make,
>but I get an illegal instruction message when I try to run it (see below).
>AMD Athlon 2400+
>Mandrake 9.0 Linux
>Intel Compiler version 7.0 (same result with gcc3.2)
>
>Previous versions work fine.
>
>Frank
>
>
>
>WARNING: egtb.cpp, total routines: 524, routines w/profile info: 0
>icc  -o crafty searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o
>nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o hash.o attacks.o
>swap.o boolean.o utility.o valid.o probe.o book.o data.o drawn.o edit.o epd.o
>epdglue.o init.o input.o interupt.o iterate.o main.o option.o output.o phase.o
>ponder.o preeval.o resign.o root.o learn.o setboard.o test.o testepd.o time.o
>validate.o annotate.o analyze.o evtest.o bench.o egtb.o dgt.o X86-elf.o -lm
>make[3]: Leaving directory `/home/fp/crafty'
>make[2]: Leaving directory `/home/fp/crafty'
>make[1]: Leaving directory `/home/fp/crafty'
>[fp@asus crafty]$ ./crafty logpath=./log
>
>Illegal instruction    <<<<-------------
>
>[fp@asus crafty]$


make linux-elf


In file included from egtb.cpp:61:
lock.h:216:1: warning: this is the location of the previous definition
egtb.cpp:101:1: warning: "Lock" redefined
lock.h:218:1: warning: this is the location of the previous definition
egtb.cpp:102:1: warning: "Unlock" redefined
lock.h:219:1: warning: this is the location of the previous definition
egtb.cpp:4304: warning: `TB_CRC_CHECK' initialized and declared `extern'
gcc -Wall -pipe -D_REENTRANT -O3                -fforce-mem -fomit-frame-pointer
-DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS            -DUSE_ASSEMBLY_A
-DUSE_ASSEMBLY_B -DFAST -DLINUX -c dgt.c
gcc -lpthread -o crafty searchr.o search.o thread.o searchmp.o repeat.o next.o
nexte.o nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o hash.o
attacks.o swap.o boolean.o utility.o valid.o probe.o book.o data.o drawn.o
edit.o epd.o epdglue.o init.o input.o interupt.o iterate.o main.o option.o
output.o phase.o ponder.o preeval.o resign.o root.o learn.o setboard.o test.o
testepd.o time.o validate.o annotate.o analyze.o evtest.o bench.o egtb.o dgt.o
X86-elf.o -lm
egtb.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[2]: *** [crafty] Error 1
make[2]: Leaving directory `/home/fp/crafty'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/fp/crafty'
make: *** [linux-elf] Error 2
[fp@asus crafty]$




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.