From: John Skaller <skaller@users.sourceforge.net>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml 3.08.3 fails to compile under Fedora Core 4 (GCC 4).
Date: Mon, 20 Jun 2005 08:27:45 +1000 [thread overview]
Message-ID: <1119220065.10455.79.camel@localhost.localdomain> (raw)
In-Reply-To: <20050619100059.GA20968@yquem.inria.fr>
On Sun, 2005-06-19 at 12:00 +0200, Xavier Leroy wrote:
> > I've realized that in Fedora Extras 4 the ocaml package contains the
> > following patch:
> > - : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&r" (out)
> > + : "+&r" (a), "+&r" (b), "+m" (blen), "+&r" (out)
> > Is this reasonable?
>
> Yes, very much so. You'll get better performance than with the
> workaround I suggested (disabling inline asm). I need to run a few
> tests with gcc 4, but eventually will fix the problem along these lines.
Hmm .. I just build CVS Ocaml branch release308 on
x86-64/amd64 platform with gcc 4.0 .. seems to work:
skaller@rosella:/work/ocaml$ ./ocamlc.opt -version
3.08.3+3 (2005-05-18)
However I get another problem:
../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot q_MLast.cmo
pa_extend.cmo -o pa_o_fast.ppo -verbose pa_o_fast.ml
----------------------------------
Parse error in entry [expr], rule:
[ "("; ")"
| "("; SELF; ":>"; type; ")"
| "("; SELF; ":"; type; ":>"; type; ")"
| "("; SELF; ":"; type; ")"
| "("; SELF; ","; LIST1 expr SEP ","; ")"
| "("; SELF; ")" ]
----------------------------------
File "pa_o_fast.ml", line 759, characters 7-9:
Parse error: ')' or [expr] expected after '(' (in [expr])
Uncaught exception: Stream.Error("')' or [expr] expected after '(' (in
[expr])")
make[2]: *** [pa_o_fast.cmx] Error 2
prev parent reply other threads:[~2005-06-19 22:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-19 3:30 Aleksey Nogin
2005-06-19 7:45 ` [Caml-list] " Xavier Leroy
2005-06-19 8:16 ` Aleksey Nogin
2005-06-19 10:00 ` Xavier Leroy
2005-06-19 22:27 ` John Skaller [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=1119220065.10455.79.camel@localhost.localdomain \
--to=skaller@users.sourceforge.net \
--cc=Xavier.Leroy@inria.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