Bug 31765 - _dl_mcount_wrapper is exported without prototype
Summary: _dl_mcount_wrapper is exported without prototype
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: dynamic-link (show other bugs)
Version: 2.40
: P2 normal
Target Milestone: 2.40
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 21:29 UTC by H.J. Lu
Modified: 2024-05-24 12:54 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2024-05-20 21:29:39 UTC
There is no _dl_mcount_wrapper prototype in installed header files.
Comment 1 H.J. Lu 2024-05-20 21:51:19 UTC
Should we obsolete it in glibc 2.40?
Comment 2 Florian Weimer 2024-05-21 13:22:24 UTC
Sounds reasonable to me.
Comment 3 Sunil Pandey 2024-05-21 16:38:18 UTC
Looks reasonable to me.
Comment 4 Sourceware Commits 2024-05-21 17:12:36 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d97842653fba2fe5c093a101ac923a1b9e5e637c

commit d97842653fba2fe5c093a101ac923a1b9e5e637c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon May 20 19:37:20 2024 -0700

    Obsolete _dl_mcount_wrapper in glibc 2.40 [BZ #31765]
    
    There is no _dl_mcount_wrapper prototype in any installed header files.
    Fix BZ #31765 by changing _dl_mcount_wrapper to a compat symbol and
    obsolete it in glibc 2.40.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
Comment 5 H.J. Lu 2024-05-24 12:54:16 UTC
Fixed in 2.40.