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

Re: OCaml/ppc64



On Fri, 2008-02-29 at 11:10 -0500, David Woodhouse wrote:
> Bored again, playing with OCaml/ppc64 for a bit of light relief.
> 
> boot/ocamlrun ./ocamlopt -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o ocamlbuild/ocamlbuild.native
> /usr/bin/ld: ocamlbuild/ocamlbuild_pack.o(.text+0x500c): unresolvable R_PPC64_REL24 relocation against symbol `ceil@@GLIBC_2.3'
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> 
> How do I make it link against -lm? Why doesn't this bite elsewhere?
At least on i386 it is linked against -lm. It isn't visible from
the build command.


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