[PATCH] abilist.awk: Handle unversioned defined symbols [BZ #33650]
Florian Weimer
fweimer@redhat.com
Tue Dec 16 16:25:52 GMT 2025
* H. J. Lu:
> On Thu, Nov 20, 2025 at 2:23 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * H. J. Lu:
>>
>> > After binutils commit:
>> >
>> > commit f685e3953f9a38a41bbd0a597f9882870cee13d5
>> > Author: H.J. Lu <hjl.tools@gmail.com>
>> > Date: Wed Oct 29 09:49:57 2025 +0800
>> >
>> > elf: Don't set its DT_VERSYM entry for unversioned symbol
>> >
>> > ld no longer assigns version index 1 to unversioned defined symbol.
>> > For libmachuser.so, "objdump --dynamic-syms" reports:
>> >
>> > 0000dd30 w DF .text 000000f8 processor_start
>> >
>> > instead of
>> >
>> > 0000dd30 w DF .text 000000f8 (Base) processor_start
>> >
>> > As the result, abilist.awk reports:
>> >
>> > ERROR: Unable to interpret this line: 0000dd30 w DF .text 000000f8
>> >
>> > Update abilist.awk to handle unversioned symbol definitions.
>>
>> Why doesn't this require any libmachuser.abilist update? If there's a
>> defined symbol, shouldn't it end up in the abilist file?
>
> sysdeps/mach/libmachuser.abilist is empty since libmachuser is unversioned.
Huh. That's a fairly significant bug in the ABI checker. 8-(
Thanks,
Florian
More information about the Libc-alpha
mailing list