Bug 3944 - no weak symbols for overriding functions in glibc-2.1-6
Summary: no weak symbols for overriding functions in glibc-2.1-6
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-07-08 06:31 UTC by Tim Potter
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-07-28 05:20:59 UTC

Attachments (Terms of Use)

Description Tim Potter 1999-07-08 06:31:44 UTC
There don't seem to be any weak symbols for (at least) the
fd I/O functions which makes it impossible to wrap libc
functions using the standard _fname or __fname trick.  I'm
trying to build the smbwrapper program from the Samba
source.  They seemed to be present in glibc-2.0.

acronym:/scratch/1/lib$ nm libc-2.0.7.so | grep opendir
0005ae80 T __opendir
0005ae80 W opendir

acronym:/scratch/1/lib$ nm /lib/libc-2.1.1.so | grep opendir
0008b4a0 t __opendir
0008b4a0 W opendir

Comment 1 Cristian Gafton 1999-07-28 05:20:59 UTC
the __xxx symbols are internal to glibc and should not be used. A new
version of smbmount should fix this.

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