Thanks for the response, but I had tried that and it didn't work.  Below is the full error output:

: && /usr/bin/c++ -DDMDV2 -O3 -DNDEBUG  obj/ldc2.o -o bin/ldc2  lib/libldc.a  -lLLVM-10  -L/usr/local/llvm10/lib  -Wl,--export-dynamic  -L/usr/xports/tmp/lts-build/lib  -lphobos2-ldc  -ldruntime-ldc  -lpthread  -lm  -m64 && :
ld: error: ti_ushort.d:(function ldc.dso_ctor.2rt8typeinfo9ti_ushort: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35408 is not in [-32768, 32767]
ld: error: ti_uint.d:(function ldc.dso_ctor.2rt8typeinfo7ti_uint: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35312 is not in [-32768, 32767]
ld: error: utf.d:(function _D2rt4util3utf7toUTF32FxAaZAyw: .text._D2rt4util3utf7toUTF32FxAaZAyw+0x1E): relocation R_PPC64_TOC16_DS out of range: 35800 is not in [-32768, 32767]
ld: error: ti_real.d:(function ldc.dso_ctor.2rt8typeinfo7ti_real: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35160 is not in [-32768, 32767]
ld: error: ti_ireal.d:(function ldc.dso_ctor.2rt8typeinfo8ti_ireal: .text+0xA): relocation R_PPC64_TOC16_DS out of range: 35040 is not in [-32768, 32767]
ld: error: ti_wchar.d:(function ldc.dso_ctor.2rt8typeinfo8ti_wchar: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35512 is not in [-32768, 32767]
ld: error: ti_double.d:(function _D2rt8typeinfo9ti_double10TypeInfo_d8toStringMxFNaNbNfZAya: .text._D2rt8typeinfo9ti_double10TypeInfo_d8toStringMxFNaNbNfZAya+0xA): relocation R_PPC64_TOC16_DS out of range: 34744 is not in [-32768, 32767]
ld: error: random.d:(function ldc.dso_ctor.2rt4util6random: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35632 is not in [-32768, 32767]
ld: error: ti_creal.d:(function _D2rt8typeinfo8ti_creal10TypeInfo_c4initMxFNaNbNiNeZAxv: .text._D2rt8typeinfo8ti_creal10TypeInfo_c4initMxFNaNbNiNeZAxv+0xA): relocation R_PPC64_TOC16_DS out of range: 34640 is not in [-32768, 32767]
ld: error: utf.d:(function ldc.dso_ctor.2rt4util3utf: .text+0x1E): relocation R_PPC64_TOC16_DS out of range: 35816 is not in [-32768, 32767]
ld: error: ti_float.d:(function _D2rt4util8typeinfo15__T8FloatingTfZ6hashOfFNaNbNefZm: .text._D2rt4util8typeinfo15__T8FloatingTfZ6hashOfFNaNbNefZm+0xA): relocation R_PPC64_TOC16_DS out of range: 34832 is not in [-32768, 32767]
ld: error: utf.d:(function _D2rt4util3utf6decodeFxAwKmZw: .text._D2rt4util3utf6decodeFxAwKmZw+0x5A): relocation R_PPC64_TOC16_DS out of range: 35776 is not in [-32768, 32767]
ld: error: ti_Ashort.d:(function _D2rt8typeinfo9ti_Ashort11TypeInfo_As8toStringMxFNaNbNfZAya: .text._D2rt8typeinfo9ti_Ashort11TypeInfo_As8toStringMxFNaNbNfZAya+0xA): relocation R_PPC64_TOC16_DS out of range: 34280 is not in [-32768, 32767]
ld: error: ti_ushort.d:(function ldc.dso_ctor.2rt8typeinfo9ti_ushort: .text+0x3E): relocation R_PPC64_TOC16_DS out of range: 35416 is not in [-32768, 32767]
ld: error: ti_ireal.d:(function ldc.dso_ctor.2rt8typeinfo8ti_ireal: .text+0x3E): relocation R_PPC64_TOC16_DS out of range: 35048 is not in [-32768, 32767]
ld: error: ti_short.d:(function _D2rt8typeinfo8ti_short10TypeInfo_s8toStringMxFNaNbNfZAya: .text._D2rt8typeinfo8ti_short10TypeInfo_s8toStringMxFNaNbNfZAya+0xA): relocation R_PPC64_TOC16_DS out of range: 35200 is not in [-32768, 32767]
ld: error: ti_uint.d:(function ldc.dso_ctor.2rt8typeinfo7ti_uint: .text+0x3E): relocation R_PPC64_TOC16_DS out of range: 35320 is not in [-32768, 32767]
ld: error: utf.d:(function _D2rt4util3utf7toUTF32FxAuZAyw: .text._D2rt4util3utf7toUTF32FxAuZAyw+0x1E): relocation R_PPC64_TOC16_DS out of range: 35800 is not in [-32768, 32767]
ld: error: ti_real.d:(function ldc.dso_ctor.2rt8typeinfo7ti_real: .text+0x3E): relocation R_PPC64_TOC16_DS out of range: 35168 is not in [-32768, 32767]
ld: error: utf.d:(function ldc.dso_ctor.2rt4util3utf: .text+0x3E): relocation R_PPC64_TOC16_DS out of range: 35824 is not in [-32768, 32767]
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.


On Thu, Dec 9, 2021 at 5:40 PM Brian Callahan via digitalmars-d-ldc <digitalmars-d-ldc@puremagic.com> wrote:
On Thursday, 9 December 2021 at 16:10:37 UTC, Curtis Hamilton
wrote:
> I was wondering if there has been any success in building LDC
> on FreeBSD PowerPC64?
>
> I've been unsuccessful in building LDC on FreeBSD 13 on my
> Power9 Blackbird.   The results usually end with "relocation
> R_PPC64_TOC16_DS out of range" errors when linking LDC2.
>
> Any ideas?

Probably wants -mcmodel=medium (alternatively, -mcmodel=large).