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 F32CABBA7 for ; Mon, 21 Nov 2005 22:59:05 +0100 (CET) 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 jALLx5jX026727 for ; Mon, 21 Nov 2005 22:59:05 +0100 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 WAA27083 for ; Mon, 21 Nov 2005 22:59:05 +0100 (MET) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jALLx4Va000719 for ; Mon, 21 Nov 2005 22:59:04 +0100 Received: from crazy.kos.nx (humanoidz.org [82.237.107.242]) by smtp5-g19.free.fr (Postfix) with ESMTP id 9218695DF for ; Mon, 21 Nov 2005 22:59:04 +0100 (CET) Date: Mon, 21 Nov 2005 22:59:03 +0100 From: Thomas Petazzoni To: caml-list@inria.fr Subject: Trouble with findlib and threads Message-ID: <20051121225903.0551f20e@crazy.kos.nx> X-Mailer: Sylpheed-Claws 1.9.99 (GTK+ 2.6.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 43824329.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43824328.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; findlib:01 threads:01 findlib:01 threads:01 recompiled:01 ocaml:01 compiler:01 ocamlopt:01 -thread:01 cmxa:01 ocamlfind:01 ocamlopt:01 -thread:01 cmxa:01 ocamlfind: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 Hi, [ As I'm not on the list, please Cc: the replies. Thanks ! ] I'm trying to get findlib to work with threads support on a Mandriva 2006 (mainly to compile equeue). For this, I've recompiled the Ocaml compiler with --with-pthread, and then findlib. However, it still doesn't work: [tpetazzoni@thomas tmp]$ cat toto.ml let f a = a + 1 [tpetazzoni@thomas tmp]$ ocamlopt -thread threads.cmxa toto.ml [tpetazzoni@thomas tmp]$ ocamlfind ocamlopt -thread threads.cmxa toto.ml ocamlfind: ocamlopt does not support multi-threaded programs for your configuration I've tested findlib 1.0.4 and 1.1, both with OCaml 3.08.3. Any idea ? Thanks, Thomas -- PETAZZONI Thomas - thomas.petazzoni@enix.org http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@jabber.dk http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7