> On 2 Jun 2023, at 17:18, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote:
>
> Hi Alex,
>
>> g:7aae58b04b92303ccda3ead600be98f0d4b7f462 introduced -Wformat errors
>> breaking bootstrap on some targets. This patch fixes that.
>>
>> Committed as obvious.
>>
>> Thanks,
>> Alex
>>
>> gcc/ChangeLog:
>>
>> * btfout.cc (btf_asm_type): Use PRIu64 instead of %lu for uint64_t.
>> (btf_asm_datasec_type): Likewise.
>
> This is PR libstdc++/110077. Btw., your fix is incomplete: it needs
> another change (%lu -> %zu) in btf_asm_func_type.
I think there’s a typo in the PR ref?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073
Iain