<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/116498>116498</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            LLVM error build LDC on FreeBSD/PowerPC Big Endian
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          lenoil98
      </td>
    </tr>
</table>

<pre>
    Attempting to bootstrap/build LDC using LDC created using GDC as bootstrap on FreeBSD/PowerPC64.  This only happens on big endian, works on little endian.

Environment
OS: FreeBSD Version: 14.1
C Compiler: clang18 (default)
D Compiler: LDC 1.39.0 (built with gdc11)
LLVM Version: 15 


#0 0x00000008144c0c58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/llvm15/lib/libLLVM-15.so+0x32c0c58)
https://github.com/ldc-developers/ldc/pull/1 0x00000008144c1330 (/usr/local/llvm15/lib/libLLVM-15.so+0x32c1330)
https://github.com/ldc-developers/ldc/pull/2 0x00000008144be25c llvm::sys::RunSignalHandlers() (/usr/local/llvm15/lib/libLLVM-15.so+0x32be25c)
https://github.com/ldc-developers/ldc/pull/3 0x00000008144c17ec (/usr/local/llvm15/lib/libLLVM-15.so+0x32c17ec)
https://github.com/ldc-developers/ldc/issues/4 0x000000081805aea8 (/lib/libthr.so.3+0x2fea8)

Any help/advise is appreciated.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyklM2OozgQx5_GXKxG_oDEHDikk2H30KttbUZzXRlTAe8YG9kmmbz9ypDtdI9Ge-hwKEy5ivpV2frLEHRvAWpUPqPykMk5Ds7XBqzTphJZ67prvYsRxilq2-PocOtcDNHLCbGmnbXp8Mthj-eQttNKeZARupvnt8Mey3BPws7ixgM8Hw-INa_uAv51vylyjL8OOmBnzRUPcprApg_c6h6D7bS0iO3xxfnvi9voGA3cdnJEDojsVvvFnrV3dgQbV8efR8R3_5XE38AH7Wxy0SKna8ge7904aQM--ZWRtqcCIyY6OMnZRMSqNfDwITA1S3Ne5STFplFEfNFxwH2nKH1Lenn59seHuiV-D3yzjBNMfpD1EbQoFFGlwMacR8R3iO_CNayLV69tPEapvn_1UgFi4h7k5eVvF6IHOSK2SSPTNuEnQMSaOXjEGuOUNOltziMt00K3q02oT7TMg0PsmfzgbIF462SIcVogWINY0-s4zG2u3JiSO_XUwRmMm8CH1YFYM80mVaI_tUY5J59GSsmPI7GPSC2wUv1q2n_N9qh7K83v0nZm-ZF4YKBLncfp-c8D3YL6_EC38AiSDmGG9Fm8hxKklCDFDeqtehx8HlzOl9rsBPJ-u1a7s1c8gEniIruzDoB1wHKaPCidZCXPupp3Fa9kBjXdcrrdCkarbKjFRnUnRqhoeaGoOrVKKFKBJNWmlEqJTNeMsIJSuqFbTmiVbwshaamg5QRYSwpUEBilNnmaWu58ny291ZRuikpkRrZgwqKUjFm44GUXMZaE09cp6amd-4AKYnSI4f6bqKOBehEC8N55fNfNX8khftY9_rJoWzZ7U__fmaQbu76eJu_-ARXfH8mN_FyzfwMAAP__Xa7KJg">