1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/lang/ocaml
Piotr Kubaj b17864ac26 lang/ocaml: fix build on powerpc64 elfv2
LLVM miscompiles ocaml on powerpc64 elfv2:
ld: error: bytecomp/printlambda.ml:23:(.text+0x16): relocation R_PPC64_TOC16_DS out of range: 73024 is not in [-32768, 32767]

Use GCC instead on powerpc64.

Add a conditional patch enabled only on powerpc64 elfv2 to use elfv2 abi instead of elfv1.

Add a bunch of other patches to correctly check for abi instead of relying on endianness.

PR:		242389
Approved by:	michipili@gmail.com (maintainer)
2019-12-16 12:56:06 +00:00
..
files lang/ocaml: fix build on powerpc64 elfv2 2019-12-16 12:56:06 +00:00
distinfo Update OCaml to version 4.05.0 (this is the last version where strings 2019-06-24 10:14:57 +00:00
Makefile lang/ocaml: fix build on powerpc64 elfv2 2019-12-16 12:56:06 +00:00
pkg-descr - Update WWW 2019-10-20 09:39:09 +00:00
pkg-plist Fix up pkg-plist in case the THREADS option (which is on by default) is 2019-06-25 12:55:27 +00:00