<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/911443e9059106c01f946be3d2ec9c23"
  from="Alexander V. Voinov &lt;avv@q...&gt;"
  author="Alexander V. Voinov"
  date="2002-07-31T03:43:37"
  subject="Re: [Caml-list] Bugfix for ocaml-3.05 problem (was: recompiling ocamlnet  &amp; PXP with 3.05)"
  prev="2002/07/1d59d5d935bcc065aaa2b4e141a8bfc8"
  next="2002/07/c4080be699433627b97c4c0e26a1e71e"
  prev-in-thread="2002/07/c3962a59a38ee8adfe4998c9682b4cd2"
  prev-thread="2002/07/14925b7e035c2f43323671cba585eb03"
  next-thread="2002/07/4c968a91c3062c04b357b1ae03bf9e96"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] recompiling ocamlnet &amp; PXP with 3.05">
<msg 
  url="2002/07/cdce8634549358fa2494a327ef58153b"
  from="Alexander V.Voinov &lt;avv@q...&gt;"
  author="Alexander V.Voinov"
  date="2002-07-30T19:01:30"
  subject="[Caml-list] recompiling ocamlnet &amp; PXP with 3.05">
<msg 
  url="2002/07/c3962a59a38ee8adfe4998c9682b4cd2"
  from="Gerd Stolpmann &lt;info@g...&gt;"
  author="Gerd Stolpmann"
  date="2002-07-30T21:18:31"
  subject="Re: [Caml-list] Bugfix for ocaml-3.05 problem (was: recompiling ocamlnet &amp; PXP with 3.05)">
<msg 
  url="2002/07/911443e9059106c01f946be3d2ec9c23"
  from="Alexander V. Voinov &lt;avv@q...&gt;"
  author="Alexander V. Voinov"
  date="2002-07-31T03:43:37"
  subject="Re: [Caml-list] Bugfix for ocaml-3.05 problem (was: recompiling ocamlnet  &amp; PXP with 3.05)">
</msg>
</msg>
</msg>
</thread>

<contents>
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:
&gt; 
&gt; On 2002.07.30 21:01 Alexander V.Voinov wrote:
&gt; &gt; Hi
&gt; &gt;
&gt; &gt; ocamlc crashes at some of the sources of the mentioned modules.
&gt; &gt;
&gt; &gt; Under Linux/x86 it crashed on
&gt; &gt;
&gt; &gt; ocamlfind ocamlc -g  -package "netstring" -c pxp_document.ml
&gt; &gt; ocamlc got signal and exited
&gt; &gt;
&gt; &gt; Under Solaris/Sparc it crashed on the netstring as well. Netstring
&gt; &gt; (and PXP) compiled OK in the same environment under 3.04.
&gt; 
&gt; Hi,
&gt; 
&gt; yesterday I already got a similar report from Michaël Marchegay, and
&gt; I could reproduce the problem. I submitted a bug report (23:44),
&gt; and Xavier Leroy and Damien Doligez fixed the problem until 15:36.
&gt; Really phantastic response time!
&gt; 
&gt; You can read the bug report with some more details how to
&gt; circumvent the problem:
&gt; 
&gt; http://caml.inria.fr/bin/caml-bugs/fixed?id=1273;page=44;user=guest
&gt; 
&gt; For your convenience, I have the attached the patch. Apply it
&gt; as follows:
&gt; 
&gt; cd ocaml-3.05/byterun
&gt; patch -p0 &lt;../../whereever-your-patch-is/patch
&gt; 
&gt; Then rebuild the whole system:
&gt; 
&gt; cd ..
&gt; make clean
&gt; make world opt opt.opt
&gt; 
&gt; It would be sufficient to rebuild ocamlrun and all statically linked
&gt; binaries, there is no change in the libraries (except libcamlrun.a),
&gt; but I don't know how to do this.
&gt; 
&gt; I think O'Caml-3.05 is still worth to be tried, there are numerous
&gt; improvements, and at least for me this GC bug does not prevent me
&gt; from using this version. It is not a fundamental problem, only a
&gt; single error.
&gt; 
&gt; Gerd
&gt; --
&gt; ----------------------------------------------------------------------------
&gt; Gerd Stolpmann      Telefon: +49 6151 997705 (privat)
&gt; Viktoriastr. 45
&gt; 64293 Darmstadt     EMail:   gerd@gerd-stolpmann.de
&gt; Germany
&gt; ----------------------------------------------------------------------------
&gt; 
&gt;   ------------------------------------------------------------------------
&gt; 
&gt;    ocaml-3.05-gc.patchName: ocaml-3.05-gc.patch
&gt;                       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

</contents>

</message>

