Bug 65449

Summary: function __on_exit is not defined in the glibc shared library
Product: [Retired] Red Hat Linux Reporter: Sandor Szabo <sandor.szabo>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 7.3CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-24 12:05:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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