[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#444360: ocamlnet_2.2.8.1-3(hppa/experimental): FTBFS: tries to link non-PIC static object into shared object



On Sat, Sep 29, 2007 at 07:27:17AM +1000, skaller wrote:
> On Fri, 2007-09-28 at 20:19 +0100, Richard Jones wrote:
> 
> > Now I have the problem that I've got to keep on supporting the
> > -lcamlrun_shared way as well as the real fix from INRIA, and that's
> > particularly a problem for RHEL where we guarantee ABI (yes, _binary_)
> > stability for 7 years, but also a problem to a lesser extent in
> > Fedora.
> 
> But hang on: Ocaml has a binary lifetime of about 3 months max.
> So I don't see the problem. Ocaml ABI isn't stable, the only
> way to fix it is to fix the version of Ocaml, and if you do
> that fixing a particular ocamlrun shared lib is ok too.

Yes and that's an "interesting" but slightly separate issue.  Since
binaries are statically linked to OCaml / glue code but dynamically
linked to C libraries it turns out to be not as much of a problem.
(See virt-top where I've shipped a binary of this OCaml program which
runs on many different platforms -- eg.  Debian, Fedora and Ubuntu).
But if RHEL customers start to ship OCaml libraries then we may be in
for a bit more, erm, fun.

Rich.

-- 
Richard Jones
Red Hat
http://annexia.org/
http://annexia.org/forth - FORTH tutorial



Reply to: