Re: [PATCH] Add check-symbol-verion.awk

Sam James <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Gentoo
Message-ID <[email protected]>
Sam James <[email protected]> writes:

> "H.J. Lu" <[email protected]> writes:
>
>> commit 6deadd4eb6ab4f59d116b2d7ad97be0d0848cb7f
>> Author: Adhemerval Zanella <[email protected]>
>> Date:   Wed Oct 8 10:55:05 2025 -0300
>>
>> didn't remove sysdeps/m68k/m680x0/fpu/w_fmod_compat.c.  As the result,
>> due to a linker bug:
>>
>> https://sourceware.org/bugzilla/show_bug.cgi?id=34550
>>
>> there were 2 default versions of fmod in m68k libm:
>>
>>    996: 0001433c   174 FUNC    WEAK   DEFAULT   12 fmod@@GLIBC_2.0
>>    997: 000307d4   214 FUNC    GLOBAL DEFAULT   12 fmod@@GLIBC_2.43
>>
>> Add check-symbol-verion.awk to verify that versioned symbols only have
>> one default version in dynamic symbol table.
>
> Good idea.
>
> Reviewed-by: Sam James <[email protected]>

Maybe test it on build-many-glibcs.py first in case of fallout. I also
assume it found the m68k problem if the fix is reverted.
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmqOr0UbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkGDr
AQCtFoQWnexfBxL5Oz+NMoYOVnVx+wBLVFKMqVtYXBJnzwEA55JJZKuMePCjKH/S
zCa+1loepK/oupoam07Kj/W5kAQ=
=5Kbi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.