[Bug 261180] devel/ocaml-opam: does not build on ARM

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Feb 2022 14:14:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261180

--- Comment #16 from Hannes Mehnert <hannes@mehnert.org> ---
Thanks for testing. I uploaded a patch to replace the
files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch and a
patch for the Makefile. With both applied, does a build work on arm32?

> -z notext is not the right solution usually

There's a discussion in https://github.com/ocaml/ocaml/pull/10835 -- indeed
there could be a nicer way (see
https://github.com/ocaml/ocaml/pull/10835#issuecomment-1011266122 - with a
(partial?) patch to avoid the issue on arm), but the attached patch may be
sufficient and doesn't need to modify the assembly.

-- 
You are receiving this mail because:
You are the assignee for the bug.