Date: Wed, 07 Feb 2024 19:43:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261180] devel/ocaml-opam: does not build on ARM Message-ID: <bug-261180-7788-eozf0SfoUC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261180-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-261180-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261180 --- Comment #20 from Benjamin Jacobs <freebsd@dev.thsi.be> --- Hello, Please consider applying the newly attached patches. The first one, 0001-devel-ocaml-opam-Fix-build-on-armv7.patch fixes this ticket. The text relocations issue is fixed by supplying LDFLAGS to the configure (hence no = need to patch the OCaml configure script), and the later assembler issue reporte= d by Stefan. (In reply to Stefan Grundmann from comment #17) It seems that ocaml generated assembly for ARM 32 contains duplicated (identical) sections, which GNU binutils happily processes. Fixed by setting USE_BINUTILS on ARM32 archs. This patch is likley to fix armv6 and ppc32 as well. The second patch, 0002-devel-ocaml-opam-GNUMake-run-dependency.patch adds g= make as run dep, as it is required for opam init to bootstrap an OCaml compiler.= IOW it is required in most of the user use-cases, except for opam-install as pa= rt of some other (package). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261180-7788-eozf0SfoUC>