diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-16 12:56:06 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-16 12:56:06 +0000 |
commit | b17864ac265843f9a6b308a1b9047b573b930046 (patch) | |
tree | 3a83d9b48e1670c461cabb856043409802348ead /security | |
parent | a78a32ab3d81573549afc4078a6e3b7f2b120585 (diff) | |
download | freebsd-ports-b17864ac265843f9a6b308a1b9047b573b930046.zip |
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)
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions