OCaml/ppc64

David Woodhouse dwmw2 at infradead.org
Fri Feb 29 16:10:26 UTC 2008


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?

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml-3.10.1-ppc64.patch
Type: text/x-patch
Size: 72310 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-ocaml-list/attachments/20080229/a7b18c61/attachment.bin>


More information about the Fedora-ocaml-list mailing list