From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id C0B86BB83 for ; Fri, 14 Apr 2006 17:58:08 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k3EFw8GG019643 for ; Fri, 14 Apr 2006 17:58:08 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA20627 for ; Fri, 14 Apr 2006 17:58:07 +0200 (MET DST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.190]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k3EFw7Rs008943 for ; Fri, 14 Apr 2006 17:58:07 +0200 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1FUQgL-0002q7-00; Fri, 14 Apr 2006 17:58:01 +0200 Received: from [84.58.136.227] (helo=gate.lan.gerd-stolpmann.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1FUQgK-0000NF-00; Fri, 14 Apr 2006 17:58:00 +0200 Received: from flakew.lan.gerd-stolpmann.de (flakew.lan.gerd-stolpmann.de [192.168.0.32]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id A3CA8C094; Fri, 14 Apr 2006 17:58:00 +0200 (CEST) Subject: Re: [Caml-list] godi and threads??? From: Gerd Stolpmann To: manfred Cc: caml-list@inria.fr In-Reply-To: References: Content-Type: text/plain Date: Fri, 14 Apr 2006 17:57:59 +0200 Message-Id: <1145030280.5345.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:a6865a839c0178d9aa0ce41878507ea2 X-Miltered: at nez-perce with ID 443FC690.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 443FC68F.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; threads:01 gerd:01 stolpmann:01 ocamlfind:01 ocamlopt:01 lib:01 ocaml:01 makefile:01 config:01 ocaml:01 threads:01 lib:01 makefile:01 config:01 prerelease:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Am Freitag, den 14.04.2006, 11:18 +0200 schrieb manfred: > Hi there, > I installed godi and tried to build ocaml-http when I got > > ocamlfind: ocamlopt does not support multi-threaded programs for > your configuration > > during the build process. > > In ~/godi/lib/ocaml/std-lib/Makefile.config I have > OCAML_THREADS=vm > > In ~/godi/lib/ocaml/std-lib/Makefile.config I have > SYSTHREAD_SUPPORT=false > > I'm running FreeBSD 6.1 Prerelease. > > Changing any of those values didn't help. > > Any idea? Yes. In the current GODI release, pthreads are turned off for FreeBSD. The reason is poor support by FreeBSD, which only has a user-level pthread implementation. Due to the O'Caml architecture, this even harmed single-threaded applications. In recent tests, things have become better, and it is likely that we will again allow multi-threading at the user's option. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------