Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] recompiling ocamlnet & PXP with 3.05
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alexander V. Voinov <avv@q...>
Subject: Re: [Caml-list] Bugfix for ocaml-3.05 problem (was: recompiling ocamlnet & PXP with 3.05)
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