Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml 3.12.0+beta1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Török_Edwin <edwintorok@g...>
Subject: Re: [Caml-list] OCaml 3.12.0+beta1
On 06/16/2010 04:07 PM, Damien Doligez wrote:
> Dear OCaml users,
> 
> We have the pleasure of celebrating Bloomsday by announcing the release of
> OCaml version 3.12.0+beta1.
> 
> This is a beta release, available as source only and intended for power
> users to test new features and report bugs (if any). 

I have run the included OCaml testsuite, but I must have done something
wrong since I got some compile failures (unbound modules, and some
missing symbols when linking thread-related tests).

make report output:
Summary:
   278 test(s) passed
   8 test(s) failed
   24 compilation error(s)
   0 compilation warning(s)

My system is a Debian Linux x86_64.
What I've done is:
 ./configure -prefix ~/compilers/o312
 make world.opt
 make install

Then put $HOME/compilers/o312/bin first in PATH.
Then I've simply run a 'make all' in testsuite/
(under ulimit -v 1024000 -d 1024000 -t 3600).
Note that I also have ocaml 3.11.2 installed.

The failures are below, is this something I'm doing wrong, or should I
open a bugreport?
 ... testing 't01.ml'Fatal error: cannot load shared library dllcamlstr
Reason: dllcamlstr.so: cannot open shared object file: No such file or
directory
 ... testing 'Exemples.ml.reference':Files Exemples.ml.reference and
Exemples.ml.result differ
 => failed
 ... testing 'Tests.ml.reference':Files Tests.ml.reference and
Tests.ml.result differ
 => failed
 ... testing 'poly.ml.principal.reference':Files
poly.ml.principal.reference and poly.ml.principal.result differ
 => failed
 ... testing 'poly.ml.reference':Files poly.ml.reference and
poly.ml.result differ
 => failed
 ... testing 'private.ml.reference':Files private.ml.reference and
private.ml.result differ
 => failed

The link failures in the testsuite look like this:
/home/edwin/compilers/o312/lib/ocaml/threads/threads.a(thread.o): In
function `camlThread__fun_1101':
(.text+0x4b): undefined reference to `caml_thread_uncaught_exception'
/home/edwin/compilers/o312/lib/ocaml/threads/threads.a(thread.o): In
function `camlThread__fun_1086':
(.text+0x8a): undefined reference to `caml_wait_signal'

The unbound module:
 ... testing 'tbuffer.ml': ocamlcFile "tbuffer.ml", line 3, characters 0-12:
Error: Unbound module Testing

Best regards,
--Edwin