OpenSolaris

Printable Version Enter a New Search
Bug ID 6334461
Synopsis libXft should hide private symbols
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:client_libs
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_27
Fixed In snv_27
Release Fixed solaris_nevada(snv_27)
Related Bugs
Submit Date 7-October-2005
Last Update Date 16-January-2007
Description
While investigating firefox linking/performance, Rod noticed we've got a number of
private symbols that are exported globally from libXft - a mapfile should scope these
locally until the X.Org community finishes adding the visibility keywords to all the
client library sources:

[1:1S]: _XftConfigInitialized[0x4]: /usr/openwin/lib/libXft.so.2 
[1:1S]: _XftDisplayInfoGet(): /usr/openwin/lib/libXft.so.2
[1:1S]: _XftDisplayInfo[0x4]: /usr/openwin/lib/libXft.so.2
[1:1S]: _XftDisplayManageMemory(): /usr/openwin/lib/libXft.so.2
[1:1S]: _XftFTlibrary[0x4]: /usr/openwin/lib/libXft.so.2
[1:1S]: _XftFontManageMemory(): /usr/openwin/lib/libXft.so.2
[1:1S]: _XftNameInitialized[0x4]: /usr/openwin/lib/libXft.so.2 
[1:1S]: _XftSetFace(): /usr/openwin/lib/libXft.so.2
*** Test Case ***
'nm /usr/openwin/lib/libXft.so.2 | grep _Xft' should show all symbols as LOCL,
not GLOB in the 5th column.
Reported to open source "upstream" as:
https://bugs.freedesktop.org/show_bug.cgi?id=4711
Work Around
N/A
Comments
N/A