OpenSolaris

Printable Version Enter a New Search
Bug ID 6484604
Synopsis X should stop linking against -lcmd
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:builds
Keywords libcmd
Responsible Engineer Alan Coopersmith
Reported Against snv_51
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_63
Fixed In snv_63
Release Fixed solaris_nevada(snv_63)
Related Bugs 6480998
Submit Date 20-October-2006
Last Update Date 18-April-2007
Description
6480998 has moved the def*() functions used by xlock & xscreensaver from libcmd 
to libc, so those components no longer need to link against libcmd.    Since the
upcoming ksh93 integration will make libcmd contain a large amount of unrelated 
code, the X components should stop linking against it so that it doesn't waste
memory/load time on unneeded code.

(However, since 6480998 only went in at nv_51, waiting a few builds before getting 
 rid of the -lcmd would allow new X builds to continue to be usable on WOS/ON builds
 older than nv_51 until all developers/testers have had a chance to upgrade their 
 OS to nv_51.)
*** Test Case ***
'elfdump -d /usr/openwin/bin/xlock' and 'elfdump -d /usr/X11/bin/xscreensaver'
should no longer include NEEDED lines that list libcmd.so.1 .
Work Around
N/A
Comments
N/A