Bug 31764 - _res_opcodes should be a compat symbol only
Summary: _res_opcodes should be a compat symbol only
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: build (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 20:41 UTC by H.J. Lu
Modified: 2024-05-24 12:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


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 20:41:31 UTC
resolv/res_debug.c has

/* _res_opcodes was exported by accident as a variable.  */

But resolv/libresolv.so has

110: 000000000000f1c0   128 OBJECT  GLOBAL DEFAULT   27 _res_opcodes@@GLIBC_2.2.5
Comment 1 Sourceware Commits 2024-05-21 02:35:59 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 4b30c644d24c07c06b587cb46f2e50adc2c3c3f0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon May 20 13:49:10 2024 -0700

    resolv: Make _res_opcodes a compat symbol [BZ #31764]
    
    _res_opcodes was exported by accident as a variable.  Fix BZ #31764 by
    making _res_opcodes a compat symbol.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
Comment 2 H.J. Lu 2024-05-24 12:51:47 UTC
Fixed in 2.40.