/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.