Rod Evans wrote: > Roland Mainz wrote: > > Assuming I have application "foo" which originally only depended on > > libc.so.1 and now I have a new version of "foo" which requires us to > > load two more shared libraries (called libxxx1.so.1 and libyyy2.so.9) > > ... is there a way to reduce the additional startup time needed to load > > these libraries ? The linker already uses -Bstatic which implies > > "lazyload" ... is there anything else we can do ? > > I assume you meant -Bdirect, which also enables -z lazyload.
Right... > You're libraries libxxx1.so.1 and libyyy2.so.9 should also > be built with -Bdirect. [snip] That's already the case (since I am talking about libraries in OS/Net, e.g. libcmd.so.1 and libast.so.1) > Make sure each object is "ldd -Ur" clean. ie. there are no > errors/warnings from running this command on your objects. Ok... ... what else could I try to do ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org