Bug 65449 - function __on_exit is not defined in the glibc shared library
Summary: function __on_exit is not defined in the glibc shared library
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.3
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-24 12:05 UTC by Sandor Szabo
Modified: 2016-11-24 15:05 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-05-24 12:05:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandor Szabo 2002-05-24 12:05:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (Windows NT 5.0; U)

Description of problem:
On the latest RedHat 7.3 in the   glibc-2.2.5-34 
 the symbol __on_exit is not defined in /lib/libc.so.6
__on_exit was defined in previous versions of glibc and also in the 
GNU 2.2.5 
We need to ship a modified pthread library with our product so we have to understand this difference.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Start the IBM Informix Dynamic Server Version 9.30 eg oninit -V
2.ld.so complains that the symbol __on_exit is undefined 
3.This product runs on all RedHat version previus 7.3
	

Additional info:

Comment 1 Jakub Jelinek 2002-05-24 13:21:37 UTC
__on_exit has always been a glibc private symbol, exported from glibc only
so that other shared libs which are part of glibc can call it.
The latest glibc enforces this through GLIBC_PRIVATE version.
(Note that __on_exit has never been declared in any glibc headers nor
mentioned in documentation).
Libraries/binaries which are not part of glibc should never use it (should use
e.g. on_exit instead which is the exported/declared/documented interface).

Comment 2 Sandor Szabo 2002-05-24 13:59:05 UTC
The change to make this function GLIBC_PRIVATE is only in the RedHat version!!
I have dowloded the glibc 2.2.90 where this change is NOT done!!
It seems RedHat is the only vendor with this change.
Please explain.
Thanks


Note You need to log in before you can comment on or make changes to this bug.