Browse thread
OCaml 3.08.3 fails to compile under Fedora Core 4 (GCC 4).
-
Aleksey Nogin
-
Xavier Leroy
-
Aleksey Nogin
-
Xavier Leroy
- John Skaller
-
Xavier Leroy
-
Aleksey Nogin
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-06-19 (22:27) |
From: | John Skaller <skaller@u...> |
Subject: | Re: [Caml-list] OCaml 3.08.3 fails to compile under Fedora Core 4 (GCC 4). |
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