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

    <tr>
        <th>Summary</th>
        <td>
            `error: length modifier 'l' results in undefined behavior or no effect with 'b' conversion specifier [-Werror,-Wformat]`
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          enh-google
      </td>
    </tr>
</table>

<pre>
    clang complains about `"%lb"`. (i've defined PRIb64 for ILP32 Android to `"llb"` and for LP64 Android to `"lb"` to match the other bases.)

```
bionic/tests/stdio_test.cpp:3000:50: error: length modifier 'l' results in undefined behavior or no effect with 'b' conversion specifier [-Werror,-Wformat]
  EXPECT_EQ(68, snprintf(buf, sizeof(buf), "<%#" PRIb64 ">", 0xaaaaaaaa'aaaaaaa
a));
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMUkuL2zAQ_jXjy5CgjN8HH7J5wMIe0lLY3ha9bKsokpHkbNtfX-xNWij9ATVCmhnP982Tx2gGp3UH5ROUx4zPafSh027cDN4PVmfCqx-dtNwNKP11sty4iFz4OSFUDIiASiuWt2JbBGoMUH3TqHRvnFZ4-fwsqgJ7H_D55ZIT7p0K3ihM_k5gH3DkTq2OL5eq-Iffwy15vPIkR0yjRp9GHVDwqOMWqAV2BLa_3xW7n1UVxjsjgc5JxxSBzjEp498WbSunCfJ9zhiDfF8uF-oQfFgEq92QRrx6ZXqjAwLVFqjGoONsU0TjcHaPcoUe-c34gD6g86j7XsuE7yaNC04sOOndTYdovMM4aXknLZ82rx8h6bB57X248gTl8SN1xNPXy-nw5e30CaipGqADRjcF41IP1Ii5Xy3mp_a_9XYxLR3LD0AlUA5Ej2ms5tM6vAOy7_z-AdUPaQ3LV5YW8qe_GpqpLldt3vJMd7uq2bVFVRdNNna9qFRZiLKQSopCqraol8MK2dYlpyozHTHKWbFrKaeyaLa8Ufmu5bymXpZ5r6Bg-sqN3Vp7u259GDIT46y7iqioM8uFtnHdViKn33H9uRRSHrPQLZiNmIcIBbMmpviHJZlkdQcV-0_mWrFsDrYbU5oi5HugM9B5MGmcxVb6K9B5Sf3-bKbgv2mZgM5rwcv2rg35FQAA__9BKSXC">