RFC: readelf: Explain why LLVM bitcode files cannot be read

Luis Machado luis.machado@arm.com
Tue Aug 23 20:35:12 GMT 2022


Hi Nick,

On 8/23/22 16:30, Nick Clifton via Binutils wrote:
> Hi Richard,
> 
>> This fails to build on ubuntu (which defaults to -Werror=format-security):
>>
>> /home/rearnsha/gnusrc/gcc-cross/master/binutils/readelf.c:5738:6: error: format not a string literal and no format arguments [-Werror=format-security]
> 
> Yeah - I noticed this 10 minutes after I committed the original patch.
> I have since applied a small update which fixes the problem, so if
> you update the sources, the error should go away.
> 
> Cheers
>    Nick
> 

I'm still seeing this for 32-bit Arm builds of binutils-gdb. Was the fix applied?


More information about the Binutils mailing list