[PATCH] Add check-symbol-verion.awk

Sam James sam@gentoo.org
Wed Aug 26 08:28:32 GMT 2026


"H.J. Lu" <hjl.tools@gmail.com> writes:

> commit 6deadd4eb6ab4f59d116b2d7ad97be0d0848cb7f
> Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> 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 <sam@gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 418 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260826/e51b25b6/attachment-0001.sig>


More information about the Libc-alpha mailing list