OpenSolaris

Printable Version Enter a New Search
Bug ID 6775062
Synopsis remove /usr/lib/libldstab.so
State 10-Fix Delivered (Fix available in build)
Category:Subcategory compiler:linker
Keywords
Responsible Engineer Ali Bahrami
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_106
Fixed In snv_106
Release Fixed solaris_nevada(snv_106)
Related Bugs 6705028 , 6782977 , 6794999 , 6803180
Submit Date 21-November-2008
Last Update Date 16-January-2009
Description
/usr/lib/libldstab.so is a helper library that does some stabs
processing related to Sun Studio compilers.  But the functionality
in it no longer serves any useful purpose.

One of the things it does is look for old source browser stabs 
and then run a program called "sbfocus" which needs to be found
on the user's search path.  (ugh) It also does other stabs processing.
Recent compilers always override this with an updated
version of libldstab.so.   But even our own version is no
longer necessary.

We are at the place now where we need to create an empty helper library
in order to suppress the invocation of the system libldstab.so.
It's time to get rid of the system library.

I notice there was a request to have the invocation of the system library
made unconditional (instead of disabling it whenever the user supplied
a helper library).  In the past years that would have made it easier on
the compiler team, but since the library should go away, it no longer matters
except in the academic sense.  The CR is 1206122 and it's marked fixed in 
Solaris 2.5 but it doesn't seem to have been fixed.  But we no longer care.
I just stumbled across that CR in my research.
Work Around
N/A
Comments
I expect to ask for this change to be ported back to a Solaris 10 update.
First I'm going to ask for input from some more compiler people to see what
they think.  At a minimum, move forward with this for Nevada.  I know that
Sun Studio 12 overrides the system library for every invocation of the
linker, so this won't affect SS12.  I'll get some feedback on SS10, SS11
and add another update here.  I don't think that we'll want to bother 
with Solaris 9 or older.