delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/13/16:30:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 13 Apr 2005 16:29:50 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Toby Allsopp <Toby DOT Allsopp AT navman DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: ocaml (camlp4) problem with text-mode /tmp
In-Reply-To: <kjuhdiaigdt.fsf@NAV-AKL-WDG-292.newton.navman.com>
Message-ID: <Pine.GSO.4.61.0504131624420.2309@slinky.cs.nyu.edu>
References: <kjull7miimh DOT fsf AT NAV-AKL-WDG-292 DOT newton DOT navman DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0504131549160 DOT 2309 AT slinky DOT cs DOT nyu DOT edu> <kjuhdiaigdt DOT fsf AT NAV-AKL-WDG-292 DOT newton DOT navman DOT com>
MIME-Version: 1.0

On Thu, 14 Apr 2005, Toby Allsopp wrote:

> On 14 Apr 2005 at 07:50 NZST, Igor Pechtchanski (pechtcha AT XX DOT XXX DOT XXX) wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> > 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.

The program is the *only* thing that made it through to the list.  None of
the text did.  Did you, by chance, send HTML mail?

> 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.

Ok, I could reproduce this.  Thanks for the report.

I'll see what can be done to fix this in the O'Caml package.  If it can't
be fixed, I'll at least put the "mount /tmp in binary or point TMPDIR to a
directory mounted in binary" suggestion in the README.

> > Also, please review <http://cygwin.com/problems.html>.
>
> 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

The output of "cygcheck -svr", actually.  But don't bother now, since it's
reproduced.

Igor Pechtchanski, the volunteer O'Caml maintainer for Cygwin
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019