Bug 31766 - _IO_stderr_ _IO_stdin_ _IO_stdout should be compat symbols
Summary: _IO_stderr_ _IO_stdin_ _IO_stdout should be compat symbols
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: stdio (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 22:58 UTC by H.J. Lu
Modified: 2024-05-24 12:53 UTC (History)
0 users

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 22:58:44 UTC
_IO_stderr_ _IO_stdin_ _IO_stdout are obsolete.  But they aren't hidden in i386
libc.so:

  1161: 0023aec0    80 OBJECT  GLOBAL DEFAULT   28 _IO_stdout_@@GLIBC_2.0
  1669: 0023a760    80 OBJECT  GLOBAL DEFAULT   28 _IO_stdin_@@GLIBC_2.0
  2989: 0023ae60    80 OBJECT  GLOBAL DEFAULT   28 _IO_stderr_@@GLIBC_2.0
Comment 1 Sourceware Commits 2024-05-21 17:12:41 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 85472c20a55ea2a49a7fbdf71652b4009118b0ae
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon May 20 19:30:58 2024 -0700

    Change _IO_stderr_/_IO_stdin_/_IO_stdout to compat symbols [BZ #31766]
    
    Since Glibc never provides symbol binary compatibility for relocatable
    files, fix BZ #31766 by changing _IO_stderr_/_IO_stdin_/_IO_stdout to
    compat symbols.
    
    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:53:03 UTC
Fixed in 2.40.