[
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: | -- (:) |
| From: | Sven Luther <sven.luther@w...> |
| Subject: | Re: [Caml-list] prelinking ocamlfind |
On Fri, Jul 16, 2004 at 04:47:02PM +0200, Xavier Leroy wrote: > > I have noticed an odd behavior, between 3.07 and 3.08.0 versions of > > ocaml. On otherwise identical systems of Fedora Core 1 distributions > > (which by default prelinks libraries and executables daily), the > > prelink command modifies ocamlfind built by 3.08 but not by 3.07. > > This was concluded by examining the prelink log (prelink.log), which > > is invoked with > > /usr/sbin/prelink -av -mR -q > > I can't really explain the different behaviour between 3.07 and 3.08 > (it seems to boil down to the fact that ocamlfind is linked with > different shared libraries in both cases, so maybe your two OCaml > installations were configured differently). > > On a related not, I just wanted to mention that Fedora's prelinking > breaks mixed-mode executables generated by "ocamlc -custom", rendering > them unusable. The reason is that prelinking removes the bytecode > part of these mixed-mode executables, just like "strip" does. Xavier, i have been told that this probably happens because we use a elf section that is normally strippable. It could be solved by using a special elf section specialized to our need (maybe one named bytecode or something), then at least strip and possibly the prelink stuff, would not remove it as it does not. Now, i am not elf knowledgeable, but i suppose this may break backward compatibility of ocaml code or something. See here for the later debian bug report, but there was some other discussion of this earlier i don't remember : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256900 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