From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA23699 for caml-redistribution; Thu, 15 Oct 1998 17:46:07 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA15408 for ; Wed, 14 Oct 1998 17:05:37 +0200 (MET DST) Received: from loki.cee.hw.ac.uk (loki.cee.hw.ac.uk [137.195.52.13]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id RAA22151 for ; Wed, 14 Oct 1998 17:05:35 +0200 (MET DST) Received: from bartok.cee.hw.ac.uk ([137.195.52.38] helo=cee.hw.ac.uk ident=paul) by loki.cee.hw.ac.uk with esmtp (Exim 1.92 #3) for caml-list@inria.fr id 0zTSUT-0003VK-00; Wed, 14 Oct 1998 16:05:29 +0100 Sender: weis Message-ID: <3624BDB3.82231609@cee.hw.ac.uk> Date: Wed, 14 Oct 1998 16:05:24 +0100 From: Paul Bristow Organization: Heriot-Watt University X-Mailer: Mozilla 4.06 [en] (X11; I; Linux 2.0.35 i586) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Objective Caml 2 with RedHat 5.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I've recently upgraded to RedHat (Linux) 5.1 and am having problems, I was wondering if anyone else has had exeperience with RH5.1 so I can identify whether my problems are to do with RH5.1 or with my local setup. First off I tried to simply 'configure' as follows: ./configure -bindir $DEPOT/dsg/local/arch.linux/bin -libdir $DEPOT/dsg/local/arc h.linux/lib/ocaml -mandir $DEPOT/dsg/local/man/man1 -cc gcc -x11include /usr/X11 R6/include -x11lib /usr/X11R6/lib This all worked fine. Then I did make world and got: make[1]: Entering directory `/a/azdak/root/depot0/.primary/dsg/local/src/ocaml-2.00/byterun' sed -n -e '/^ /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \ -e '/^}/q' instruct.h > jumptbl.h gcc -O -fno-defer-pop -Wall -c interp.c -o interp.o interp.c: In function `interprete': interp.c:151: warning: `pc' might be used uninitialized in this function interp.c:151: warning: variable `pc' might be clobbered by `longjmp' or `vfork' interp.c:152: warning: `sp' might be used uninitialized in this function interp.c:152: warning: variable `sp' might be clobbered by `longjmp' or `vfork' interp.c:153: warning: `accu' might be used uninitialized in this function interp.c:153: warning: variable `accu' might be clobbered by `longjmp' or `vfork' interp.c:166: warning: `env' might be used uninitialized in this function interp.c:166: warning: variable `env' might be clobbered by `longjmp' or `vfork' interp.c:167: warning: `extra_args' might be used uninitialized in this function interp.c:167: warning: variable `extra_args' might be clobbered by `longjmp' or `vfork' interp.c:168: warning: `initial_external_raise' might be used uninitialized in this function interp.c:168: warning: variable `initial_external_raise' might be clobbered by `longjmp' or `vfork' interp.c:169: warning: `initial_sp_offset' might be used uninitialized in this function interp.c:169: warning: variable `initial_sp_offset' might be clobbered by `longjmp' or `vfork' interp.c:983: fixed or forbidden register was spilled. This may be due to a compiler bug or to impossible asm statements or clauses. make[1]: *** [interp.o] Error 1 make[1]: Leaving directory `/a/azdak/root/depot0/.primary/dsg/local/src/ocaml-2.00/byterun' make: *** [coldstart] Error 2 So I checked my compiler: gcc -v Reading specs from /usr/lib/gcc-lib/i586-linux/egcs-2.90.29/specs gcc version egcs-2.90.29 980515 (egcs-1.0.3 release) I suspect this is the problem. Has anyone else succesfully compiled with egcs? n.b. I remembered to use sh and not csh or other. Thanks, -- Paul C Bristow, Dept. Computing & Elec. Eng. Heriot-Watt University, Edinburgh EH14 4AS. Phone: (+44) 131 451 5111 ext 4179. e-mail: paul@cee.hw.ac.uk "Smith and Wesson, the ultimate point and click interface!"