🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4853

Gnu chess pl71 on an Alpha running OSF 1.3.

#4853
From: Michel van der List
Date: Thu, 01 Sep 1994 12:26
61 lines
2971 bytes
Hi.

I am trying to build gnuchess pl71 on an Alpha, running OSF 1.3
with the standard cc. My Makefile options look like this (which I
believe are the standard options, with -DDEBUG33 -DLONG64 added):

OPT=  -DUSEINT -DCACHE -DGDX -DHASGETTIMEOFDAY -DNULLMOVE
	-DQUIETBACKGROUND -DSEMIQUIETBOOKGEN -DWAY4PL64 -DHISTORY
	-DHASHSTATS -DAGING -DKILLT -DDEBUG33 -DLONG64

This is what happens when I try to install the program
(slightly edited for readability):

% make install
cp gnuchessx /usr/local/bin/gnuchess/gnuchessx
cp gnuchessc /usr/local/bin/gnuchess/gnuchessc
cp gnuchessr /usr/local/bin/gnuchess/gnuchessr
cp gnuchessn /usr/local/bin/gnuchess/gnuchessn
cp postprint /usr/local/bin/gnuchess/postprint
cp gnuan /usr/local/bin/gnuchess/gnuan
cp gnuchess /usr/local/bin/gnuchess/gnuchess
cp ../misc/gnuchess.lang /usr/local/lib/gnuchess/gnuchess.lang
rm ./gnuchess.data
rm: ./gnuchess.data: No such file or directory
*** Exit 2 (ignored)
echo 3 0 >test;echo quit >>test
gzip -d -c  ../book/gnuchess.bk1.z       > /tmp/t
cat test| ./gnuchessr -b /tmp/t  -B ./gnuchess.data -S 188000
-P 26
sh: 22087 Memory fault - core dumped
*** Exit 139
Stop.

% dbx ./gnuchessr core
dbx version 3.11.1
Type 'help' for help.
Core file created by program "gnuchessr"

signal Segmentation fault at   [InitHashCode:802 +0x64,0x120015e20]
	hashcode[c][p][l].bd += (((unsigned long) xrand (cnt++,t)) << 48);
(dbx) where
>  0 InitHashCode(0x1, 0x0, 0x0, 0x2700000037, 0x120013340)
	["./ttable.c":802, 0x120015e20]
   1 NewGame(0x100000001, 0x7, 0x100000003, 0x36, 0x100000063)
   	["init.c":334, 0x120013440]
   2 main(0x1, 0x11ffff4a8, 0x140000e50, 0x120005560, 0x1200055f0)
   	["main.c":400, 0x120006428]

I might add that this is the first time that I've had problems
building gnuchess on this configuration. Before I actually try to
figure out what's wrong, has somebody seen this before?

 a d v
Thanks a 
 e c n        Michel
 
-- 
----------------------+--------------------------+-----------------------------
Michel van der List   | 'Dat typies hollands     | The Fox Chase Cancer Center
M_vanderlist@fccc.edu |      vingertje'          |      7701 Burholme Avenue
(215) 728-3660        |                          |    Philadelphia, PA  19111
Technical Details
Message-ID: <344hag$f7t@taurus.fccc.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!gatech!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!taurus.fccc.edu!vanderli

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,6a22d32c8dc0570e,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1994-09-01 10:18:48 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!gatech!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!taurus.fccc.edu!vanderli
From: vanderli@aquila.fccc.edu (Michel van der List)
Newsgroups: gnu.chess
Subject: Gnu chess pl71 on an Alpha running OSF 1.3.
Date: 1 Sep 1994 12:26:56 GMT
Organization: Fox Chase Cancer Center, Philadelphia, PA
Lines: 61
Message-ID: <344hag$f7t@taurus.fccc.edu>
NNTP-Posting-Host: aquila.rm.fccc.edu