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

    <tr>
        <th>Summary</th>
        <td>
            gcc and clang disagree on __gttf2 and __eqtf2 builtins for wasm64 target
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    wasm-ld: warning: function signature mismatch: __gttf2
>>> defined as (i64, i64, i64, i64) -> i32 in /home/cqwrteur/toolchains/sysroots/wasm64-wasi/lib/wasm64-wasi/libstdc++.a(c++locale.o)
>>> defined as (i64, i64, i64, i64) -> i64 in /home/cqwrteur/llvm_toolchains/x86_64-pc-linux-gnu/lib/clang/18/lib/wasi/libclang_rt.builtins-wasm64.a(comparetf2.c.obj)

wasm-ld: warning: function signature mismatch: __eqtf2
>>> defined as (i64, i64, i64, i64) -> i32 in /home/cqwrteur/toolchains/sysroots/wasm64-wasi/lib/wasm64-wasi/libstdc++.a(c++locale.o)
>>> defined as (i64, i64, i64, i64) -> i64 in /home/cqwrteur/llvm_toolchains/x86_64-pc-linux-gnu/lib/clang/18/lib/wasi/libclang_rt.builtins-wasm64.a(comparetf2.c.obj)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzslM9unDAQxp9muFggGPNn98AhacprrAZ7FhwZe2ObbvL2FeymaaX00l56qITwiBlG328-ayhGMznmHppHaJ4yWtPsQ5-CCtEE1tno9Vt_pbjkVoN8EFcKzrhpC8-rU8l4J7YWlNbAYjFxoaTmLX06TSmdEconKB9Afr09QvPZONaCogA8mLYG_CI-OY4i38qNRGGcABxmvzDgoF6uIfEaAIfkvVUzGRcBh_gWg_dpCze5bZ1fKRrAwZrxs28xaQX4CPhYEODhHluvyHLhAY9_K7ytfyvc2m_L6Rf1r4f21Nb5ReXWuPU1n9z6Q7qy5CbAoTr8THPH2JOnkIpxNTYZF_Mb6Q3KLxcKnM5YqMKPzx9U-_sPbeWX_7b-a7Zmupf6KI-UcV91JdZN18gum3vErmqpPhI3hF1X1W2pdYWt5gqxlpyZHkuUFVayPDRYdUWNlT6WjEqWTFSeoS55IWOLDa_wYcpMjCv3XSNLzCyNbOO-PhDvSLhtktBv9fm4ThHq0pqY4keHZJLlflJKkNNi_01oE2kKzMK7992xZ-8XTrxPQpx9ELdpiERh4pStwfZzSpcI8gFwABwmk-Z1LJRf7r7cj_wS_DOrBDjsFJtJO8j3AAAA___NZ4_z">