From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA00361; Tue, 10 Sep 2002 16:34:20 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA00413 for ; Tue, 10 Sep 2002 16:34:19 +0200 (MET DST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g8AEYJ906403 for ; Tue, 10 Sep 2002 16:34:19 +0200 (MET DST) Received: from mail.liafa.jussieu.fr (liafa1.liafa.jussieu.fr [132.227.81.128]) by shiva.jussieu.fr (8.12.5/jtpda-5.4) with ESMTP id g8AEYIjR058562 for ; Tue, 10 Sep 2002 16:34:18 +0200 (CEST) X-Authentication-Warning: shiva.jussieu.fr: Host liafa1.liafa.jussieu.fr [132.227.81.128] claimed to be mail.liafa.jussieu.fr Received: from liafa0p.liafa.jussieu.fr (liafa0p.liafa.jussieu.fr [132.227.81.252]) by mail.liafa.jussieu.fr (8.9.3/jtpda-5.3.2) with ESMTP id QAA14657 for ; Tue, 10 Sep 2002 16:34:18 +0200 (MET DST) Received: from (durak@localhost) by liafa0p.liafa.jussieu.fr (8.11.6/jtpda-5.4) id g8AEYIn25040 for caml-list@inria.fr; Tue, 10 Sep 2002 16:34:18 +0200 Date: Tue, 10 Sep 2002 16:34:18 +0200 From: Berke Durak To: caml-list@inria.fr Subject: Re: [Caml-list] Native code and stack limit Message-ID: <20020910143418.GA23320@liafa.jussieu.fr> References: <20020910124322.GB12019@liafa.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020910124322.GB12019@liafa.jussieu.fr> User-Agent: Mutt/1.4i X-Antivirus: scanned by sophie at shiva.jussieu.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Sep 10, 2002 at 02:43:22PM +0200, Berke Durak wrote: > I also have no ulimits on my machine. Sorry I had an 8Mb limit on my stack. I thought "ulimit" would show all limits. Not. Shame on me. I have also checked the latest CVS sources ; it seems that there are no more references to the stack limit in asmrun. May I suggest fixing the documentation as follows : In the native-code compilation section, specify which OCAMLRUNPARAM options are used ; stress that there is no Ocaml-imposed stack limit, that the stack limit can be checked (at least under Linux) using "ulimit -a" and be set using "ulimit -s", and that a stack overflow throws a Stack_overflow exception. Would it be a luxury if the native startup code complained if the OCAMLRUNPARAM-specified stack limit exceeds the system stack limit ? -- Berke Durak ------------------- 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