From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 53568BCAD for ; Mon, 23 May 2005 23:23:20 +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 j4NLMdZZ002161 for ; Mon, 23 May 2005 23:22:40 +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 XAA17090 for ; Mon, 23 May 2005 23:22:29 +0200 (MET DST) Received: from ptb-relay04.plus.net (ptb-relay02.plus.net [212.159.14.213]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j4NLM4oH017934 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 23 May 2005 23:22:28 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay04.plus.net with esmtp (Exim) id 1DaKMz-0000MC-P6 for caml-list@inria.fr; Mon, 23 May 2005 22:21:53 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@inria.fr Subject: ocamlopt stack overflowing Date: Mon, 23 May 2005 22:06:59 +0100 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505232207.00090.jon@ffconsultancy.com> X-Miltered: at nez-perce with ID 4292499F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4292497C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 stack:01 ocamlopt:01 stack:01 ocaml:01 ocaml:01 frog:98 caml:02 compiling:02 objective:02 generated:05 problem:05 opt:05 trick:06 suspect:07 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: I've got a problem with ocamlopt stack overflowing on some generated OCaml source (one 1,227-line function, 288kB of source). Any ideas what the cause is? I suspect that compiling the OCaml distribution from source and using ocamlopt.opt will do the trick otherwise. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists