Bug 4334 - libsmbclient leaks a lot of useless symbols
libsmbclient leaks a lot of useless symbols
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.9
Other Other
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-11 07:13 UTC by Samuel Thibault
Modified: 2007-07-04 09:05 UTC (History)
1 user (show)

See Also:


Attachments
Map file, to be passed to GNU ld via --version-script option (43 bytes, text/plain)
2007-01-11 07:13 UTC, Samuel Thibault
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Thibault 2007-01-11 07:13:17 UTC
nm /usr/lib/libsmbclient.so shows that libsmbclient exposes a _lot_ of symbols that are probably just useless, since they are not declared in libsmbclient.h, and this can easily brings conflicts, sometimes undetected. An easy way to mask them on GNU systems at least is to use a map file like the one I'll attach, which only exposes smbc_* functions.
Comment 1 Samuel Thibault 2007-01-11 07:13:58 UTC
Created attachment 2253 [details]
Map file, to be passed to GNU ld via --version-script option
Comment 2 Samuel Thibault 2007-07-04 09:05:38 UTC
Should have gotten fixed by Julien's linker script