Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 65449 - function __on_exit is not defined in the glibc shared library
function __on_exit is not defined in the glibc shared library
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-05-24 08:05 EDT by Sandor Szabo
Modified: 2016-11-24 10:05 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-24 08:05:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sandor Szabo 2002-05-24 08:05:26 EDT
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:

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 09:21:37 EDT
__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 09:59:05 EDT
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.

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