Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Erik Arneson <erik@aarg.net>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml 3.0.6 build problems (Linux Alpha)
Date: Mon, 9 Sep 2002 16:25:54 +0200	[thread overview]
Message-ID: <20020909162554.E1781@pauillac.inria.fr> (raw)
In-Reply-To: <15738.32451.271556.2326@monkey.x.aarg.net>; from erik@aarg.net on Sat, Sep 07, 2002 at 03:33:39PM -0700

> I'm having problems building OCaml 3.0.6 on Linux Alpha.

This is a known problem with recent libc versions on 64-bit Linux.
The good news is that the workaround is already in the 3.06 sources,
it just needs to be activated at configuration time.
The patch below to "configure" should do the job.

- Xavier Leroy

Index: csl/configure
diff -c csl/configure:1.174 csl/configure:1.175
*** csl/configure:1.174	Wed Aug  7 14:45:00 2002
--- csl/configure	Tue Aug 27 10:30:53 2002
***************
*** 13,19 ****
  #                                                                       #
  #########################################################################
  
! # $Id: configure,v 1.174 2002/08/07 12:45:00 garrigue Exp $
  
  configure_options="$*"
  prefix=/usr/local
--- 13,19 ----
  #                                                                       #
  #########################################################################
  
! # $Id: configure,v 1.175 2002/08/27 08:30:53 xleroy Exp $
  
  configure_options="$*"
  prefix=/usr/local
***************
*** 495,501 ****
  # Further machine-specific hacks
  
  case "$host" in
!   ia64-*-linux*)
      echo "Will use mmap() instead of malloc() for allocation of major heap chunks."
      echo "#define USE_MMAP_INSTEAD_OF_MALLOC" >> s.h;;
  esac
--- 495,501 ----
  # Further machine-specific hacks
  
  case "$host" in
!   ia64-*-linux*|alpha*-*-linux*)
      echo "Will use mmap() instead of malloc() for allocation of major heap chunks."
      echo "#define USE_MMAP_INSTEAD_OF_MALLOC" >> s.h;;
  esac
-------------------
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


      parent reply	other threads:[~2002-09-09 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-07 22:33 Erik Arneson
2002-09-07 22:56 ` Erik Arneson
2002-09-09 14:25 ` Xavier Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020909162554.E1781@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=erik@aarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox