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

    <tr>
        <th>Summary</th>
        <td>
            printf interception on 32-bit Linux/sparc64 doesn't work
        </td>
    </tr>

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

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

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

<pre>
    With PR #107405, a couple of ASan tests that depend on `printf` interception `FAIL` on 32-bit Linux/sparc64:
```
 AddressSanitizer-sparc-linux :: TestCases/printf-2.c
 AddressSanitizer-sparc-linux :: TestCases/printf-3.c
 AddressSanitizer-sparc-linux :: TestCases/printf-4.c
 AddressSanitizer-sparc-linux :: TestCases/printf-5.c

 AddressSanitizer-sparc-linux-dynamic :: TestCases/printf-2.c
 AddressSanitizer-sparc-linux-dynamic :: TestCases/printf-3.c
 AddressSanitizer-sparc-linux-dynamic :: TestCases/printf-4.c
 AddressSanitizer-sparc-linux-dynamic :: TestCases/printf-5.c

 SanitizerCommon-asan-sparc-Linux :: Linux/unexpected_format_specifier_test.cpp
```
The issue is always the same: the interceptor doesn't run, which is no wonder given that the executables contains calls to `__nldbl_print` (no long double) instead of the expected `__interceptor_printf`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyklF9r2zAUxT-N_HJxkCXFSR78kLUEBn0Ya2GPRpauY22yZCS5affph-K068YGgYDxX85Pusf3XBmjOTrEhqw_kfV9Iec0-NAEH9JQdF6_Nt9MGuDLVyCMV3Qj6JqwO5Cg_DxZBN_D_lE6SBhThDTIBBondBq8A1LTKRiXelJTMC5hUDgls3w57D8_5PfeAWdlZxI8GDe_EHaIkwyqFoTvCb0ndE9qejnOj7DXOmCMj9KZZH5iKM-C0mY5ZBXfwxPGdCcjRsIOyx5KtlK3AfitAHErYP0GuAJT6lcnR6NuduQK0HXOXAG6zqErQH879c658-PoXSmjdBfkw0fT33pwdvgyoUqo296HUaY2TqhMbzC0uddXapr-2Z1PA4KJcc5nkPYkX3MsEKIcMS-Q79-j4ANoj9ERtkkQZpejdRqMGrLYeTh5pzHA0TyjW8KV5fiCak6ysxhBeZekcRGUtDZC8jlabeus7mx79iJnjLCt82C9O4L2c2eRsB0YFxNKnSO8UJd6F8CHLbbvGV4VuuF6x3eywKbasLoS23rLi6HBerfVesN1x8Ra94yyatMJSTvKOqo5FqZhlAm6q1jFhRB8teEb0VeiEuuK9rtaEkFxlMaurH0eVz4ci7OLTUW3fMcKKzu08TylGHN4WjwmjOWhFZosKrv5GImg1sQUf2OSSRabpYY_h9B_J8-Hn3Ly4UcxB9sMKU0xNwk7EHY4mjTM3Ur5kbBDXupyKafgv6NKhB3OG8wdeanguWG_AgAA__9Vt8i7">