PATCH bfd: Fix linker warning for recently introduced arm attributes
Simon Marchi
simon.marchi@polymtl.ca
Wed Oct 6 02:14:59 GMT 2021
On 2021-10-05 20:03, Alan Modra wrote:
> On Mon, Oct 04, 2021 at 10:49:58PM -0400, Simon Marchi via Binutils wrote:
>> On 2021-09-27 10:40, Andrea Corallo wrote:> Hi all,
>>>
>>> this simple patch updates the value of 'NUM_KNOWN_OBJ_ATTRIBUTES' so
>>> that when linking objects with 'Tag_BTI_use' or 'Tag_PACRET_use' set ld
>>> does not emit the "unknown EABI object attribute" warning.
>>>
>>> Regtested clean, okay for trunk?
>>>
>>> Best Regards
>>>
>>> Andrea
>>>
>> Hi Andrea,
>>
>> I get some GDB failures starting with this commit. To run:
>>
>> gdb/ $ make check TESTS="gdb.cp/ambiguous.exp"
>>
>> And in gdb.log:
>>
>> 49 (gdb) file /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.cp/ambiguous/ambiguous^M
>> 50 BFD: BFD (GNU Binutils) 2.37.50.20210924 assertion fail /home/simark/src/binutils-gdb/bfd/elf.c:240^M
>
> Dependency problem? I can't see that assert being hit unless you have
> stale bfd object files.
I tried rebuilding from scratch a few times and kept seeing it. I
flushed my ccache cache and now I don't see it, so perhaps it was a
ccache issue (if so, that's quite rare).
So, sorry for the noise.
Simon
More information about the Binutils
mailing list