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

    <tr>
        <th>Summary</th>
        <td>
            rccl compilation failed on openEuler RISC-V operating system.
        </td>
    </tr>

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

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

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

<pre>
    OS Environment: openEuler24.03

We use the OBS platform for compilation, so we need to write a spec file. However, there are always errors during the linking process. Different errors occur when using both ld and lld linkers. Here are the compilation results on the OBS build platform. You can view and download the logs locally.

Using lld linker:
[file](https://gitee.com/chebyshevtst/rccl)
[log](https://build.tarsier-infra.isrc.ac.cn/package/live_build_log/home:Thomas134:branches:Factory:RISC-V:ROCm/rccl/24.03/riscv64)

Using ld linker:
[file](https://code.misakanet.cn/openeuler-risc-v/rocm/rccl)
[log](https://build.tarsier-infra.isrc.ac.cn/package/live_build_log/Factory:RISC-V:ROCm/rccl/24.03/riscv64)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8VE2PpDYQ_TXmUmoLzMcMBw49M4s2p5Ey-VBOK2MKcMbYyGVA_e8j0709EyWX5LAHwMLFe68ezyWJ9GgRG1Y-sfIlkWuYnG9-mdwsKcuLpHP9pXl9gy92097ZGW1g-RncgvbLatCLgqc5S19Yer7ef0dYCSFMCK9Pb7AYGQbnZxicB-XmRRsZtLNMPAM52BEsYg_Bwe51QJBACyoYtEEOX92OG_pYGyb0CDJeZpcXAvTeeYJ-9dqOB53R9j2uF-8UEnF40cOAHm34XuyUWj3sE1pYKZZ2LkxgepC2B2P6AwI9cfj6nS0Cf5INHmk1gcDZe4vdqk1_b5TDH24FJS1sGvcDuXe7NU72V5VuJDBOSWMu_LNxvx6KPlSw_LbByqdoBytfmHicQlgobomWiXbUAZErNzPRqgm7C024BQpMtF4pw0R9hzBu_DeEQzwP0pNGf9J28JJr8opLxZVlol2kepcjMtEaveG3o_5bBBPt5GZk-fkeFpafOy-tmjDit1IF5y8sP__809vz6be4eH2e79Laa3RE6zWprSo-xH6247-4oVyPfNYk36XFcJUfg4oxqKdIc9oin1PzjzHof1iQ9E3e13ktE2yyhzyri1rUZTI1lVBpVXVpWddVWQ6ZzOoyHXBQfYdVJetENyIVRZZlj9lDmuUFT6vuQQ5ZjeUgi75-ZEWKs9SGG7PN3Pkx0UQrNllWVWWdGNmhoWMQCGFxh2OXCRHngm_iR6duHYkVqdEU6AMm6GCwiS397agMUhvs40m5Twu4-hBfeBniD6YLBZx5snrT_CPb09rdwh25bo_T4t2fqGLGD4XERHtrYWvEXwEAAP__cPWRfg">