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?
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.
David got it building in the end, and I've rebuilt all of the OCaml packages in Rawhide (again ... and on the same day that OCaml 3.10.2 was released as well ...)
They all build without error on ppc64 but that doesn't necessarily mean they will run. Just building them exercises the bytecode interpreter (written in C) and if we're lucky ocamlc.opt and ocamlopt.opt and on a rare few packages some tests. If someone can lay their hands on a ppc64 machine they can try them out.
On the other hand it was a good enough excuse to finally get rid of 'ExcludeArch: ppc64' everywhere.
Rich.
On Sat, 2008-03-01 at 13:47 +0000, Richard W.M. Jones wrote:
David got it building in the end, and I've rebuilt all of the OCaml packages in Rawhide (again ... and on the same day that OCaml 3.10.2 was released as well ...)
They all build without error on ppc64 but that doesn't necessarily mean they will run. Just building them exercises the bytecode interpreter (written in C) and if we're lucky ocamlc.opt and ocamlopt.opt and on a rare few packages some tests. If someone can lay their hands on a ppc64 machine they can try them out.
Mail me a SSH public key, and/or tell me what to test.
All I've done this time is dust off the old patch I had for 3.09.3 and make it build again. I haven't done any real work. So I still expect to see that SEGV in freetennis which stopped me from shipping the patch before. Although every other test case I could come up with was working fine.
ocaml-devel@lists.fedoraproject.org