caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven <luther@dpt-info.u-strasbg.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] caml on LinuxPPC
Date: Mon, 18 Feb 2002 10:40:55 +0100	[thread overview]
Message-ID: <20020218104055.A21003@dpt-info.u-strasbg.fr> (raw)
In-Reply-To: <20020215031733.GB12898@cmu.edu>; from ecc@cmu.edu on Thu, Feb 14, 2002 at 10:17:33PM -0500

On Thu, Feb 14, 2002 at 10:17:33PM -0500, Eric C. Cooper wrote:
> On Tue, Feb 12, 2002 at 01:38:05PM -0600, Will Benton wrote:
> > How well-supported is OCaml under LinuxPPC?
> 
> The short answer to your question is: not as well as under x86 Linux.
> 
> I just did a quick test on a Debian powerpc, using the latest ocaml,
> lablgtk, and lablgl packages (from Debian "unstable") to compile apps
> that I originally wrote on an x86.
> 
> My vanilla OCaml and GTK apps compiled and ran OK with ocamlc.  They
> compiled with ocamlopt but did not work (the resulting code just
> looped).  They didn't compile with ocamlopt.opt: the compiler itself
> would either loop or segfault (consistent with the previous
> observation of ocamlopt producing buggy code).

Yes, there seems to be a bug in the actual powerpc version of the native code
compilers. Xavier and the ocaml team are aware of that and actively working on
it (i don't know if there is a solution yet though).

That said, previous versions of ocaml did work fine on ppc, and i have great
hopes that this will happen again as soon as this bug is corrected.

In the meantime, i will disable native code build on ppc, just to be on the
safe side.

> The lablgl applications did not appear to work even when built with
> ocamlc; they produced X protocol errors.

huh ???

> When I track the problems down a bit further, I'll file the bugs with
> the Caml group or the Debian maintainer.

:)))

Friendly,

Sven Luther
-------------------
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-02-23 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-12 19:38 Will Benton
2002-02-15  3:17 ` Eric C. Cooper
2002-02-15 20:15   ` Eric C. Cooper
2002-02-18  9:40   ` Sven [this message]
2002-02-25  8:28     ` Sven
2002-02-15 15:25 ` Xavier Leroy
2002-02-18  9:43   ` Sven

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=20020218104055.A21003@dpt-info.u-strasbg.fr \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).