From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA09599; Wed, 31 Jul 2002 05:43:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 FAA09496 for ; Wed, 31 Jul 2002 05:43:37 +0200 (MET DST) Received: from str12.sobor.org (adsl-63-198-183-99.dsl.snfc21.pacbell.net [63.198.183.99]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6V3hZL20427 for ; Wed, 31 Jul 2002 05:43:35 +0200 (MET DST) Received: from quasar.ipa.nw.ru (unknown [192.168.123.51]) by str12.sobor.org (Postfix) with ESMTP id DA89499860; Tue, 30 Jul 2002 20:43:25 -0700 (PDT) Message-ID: <3D475D0B.2904444A@quasar.ipa.nw.ru> Date: Tue, 30 Jul 2002 20:44:11 -0700 From: "Alexander V. Voinov" Organization: Fear of the Lord is the beginning of wisdom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Gerd Stolpmann Cc: caml-list@inria.fr Subject: Re: [Caml-list] Bugfix for ocaml-3.05 problem (was: recompiling ocamlnet & PXP with 3.05) References: <20020730.120120.92581149.avv@quasar.ipa.nw.ru> <20020730211821.GA1806@ice.gerd-stolpmann.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Gerd, It helped with the first part of the problem below (on Linux). But under Solaris it still crashes at: ocamlfind ocamlc -g -package "unix pcre" -thread -c netstring_pcre.mli Unfortunately this moment I can't spend enough time to trace it within the compiler. Alexander Gerd Stolpmann wrote: > > On 2002.07.30 21:01 Alexander V.Voinov wrote: > > Hi > > > > ocamlc crashes at some of the sources of the mentioned modules. > > > > Under Linux/x86 it crashed on > > > > ocamlfind ocamlc -g -package "netstring" -c pxp_document.ml > > ocamlc got signal and exited > > > > Under Solaris/Sparc it crashed on the netstring as well. Netstring > > (and PXP) compiled OK in the same environment under 3.04. > > Hi, > > yesterday I already got a similar report from Michaël Marchegay, and > I could reproduce the problem. I submitted a bug report (23:44), > and Xavier Leroy and Damien Doligez fixed the problem until 15:36. > Really phantastic response time! > > You can read the bug report with some more details how to > circumvent the problem: > > http://caml.inria.fr/bin/caml-bugs/fixed?id=1273;page=44;user=guest > > For your convenience, I have the attached the patch. Apply it > as follows: > > cd ocaml-3.05/byterun > patch -p0 <../../whereever-your-patch-is/patch > > Then rebuild the whole system: > > cd .. > make clean > make world opt opt.opt > > It would be sufficient to rebuild ocamlrun and all statically linked > binaries, there is no change in the libraries (except libcamlrun.a), > but I don't know how to do this. > > I think O'Caml-3.05 is still worth to be tried, there are numerous > improvements, and at least for me this GC bug does not prevent me > from using this version. It is not a fundamental problem, only a > single error. > > Gerd > -- > ---------------------------------------------------------------------------- > Gerd Stolpmann Telefon: +49 6151 997705 (privat) > Viktoriastr. 45 > 64293 Darmstadt EMail: gerd@gerd-stolpmann.de > Germany > ---------------------------------------------------------------------------- > > ------------------------------------------------------------------------ > > ocaml-3.05-gc.patchName: ocaml-3.05-gc.patch > Type: Plain Text (text/plain) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners