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

Bug#461125: ocaml-nox: linking into a shared library fails due to R_X86_64_32 relocations



Control: tags -1 + fixed-upstream pending

Le 16/01/2008 19:53, Mathijs Romans a écrit :
> I'm not sure I understand the problem exactly, I'm sorry for that. I run on AMD64 and I'm 
> making a shared library using the library libasmrun.a. However the linker complains that a 
> relocation R_X86_64_32 can not be used, because the library was not compiled with -fPIC (see 
> output below). I understand there is a alternative for this for the camlrun library (called 
> "camlrun_shared"). But not so for the asmrun?

The upstream changelog for 4.02.2 reads:
> - PR#6693: also build libasmrun_shared.so and lib{asm,caml}run_pic.a
>   (Peter Zotov, review by Mark Shinwell)

Link to the upstream bug report:
  http://caml.inria.fr/mantis/view.php?id=6693

So I guess this is fixed upstream...

Cheers,

-- 
Stéphane


Reply to: