Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: ocaml (camlp4) problem with text-mode /tmp References: From: Toby Allsopp Date: Thu, 14 Apr 2005 08:14:06 +1200 In-Reply-To: (Igor Pechtchanski's message of "Wed, 13 Apr 2005 15:50:03 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (cygwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 13 Apr 2005 20:14:12.0196 (UTC) FILETIME=[5B8FEA40:01C54065] On 14 Apr 2005 at 07:50 NZST, Igor Pechtchanski (pechtcha AT cs DOT nyu DOT edu) wrote: > What exactly is the problem, and what are the steps to reproduce it? The problem is that compiliing some ocaml source files using camlp4o as a preprocessor fails when /tmp or $TMPDIR is mounted in text mode. I attached such a source file to my previous email. If that attachment didn't make it to the list, it is the file sqlite.ml from http://neugierig.org/software/ocaml/sqlite/ocaml-sqlite-0.3.5.tar.bz2. To reproduce the problem, compile the file with the command ``ocamlc -pp camlp4o sqlite.ml''. The failure I see is the message ``Fatal error: exception Failure("input_value: integer too large")'' and no .cmo file produced. This only happens if /tmp is mounted in text mode. If it is mounted in binary mode then the compilation completes successfully. > Also, please review . Ah, versions, sorry. O/S: Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Cygwin DLL: 1.5.14 ocaml: 3.08.1-1 Thanks for your attention. Toby. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/