2012/1/12 Peter FELECAN <pfele...@opencsw.org>: > What's the idea?
The idea is this: if libstdc++.so.6 is in /opt/csw/lib and we automatically add -R/opt/csw/lib/$ISALIST to all binaries, there's a new failure mode: a binary might link against a SONAME traditionally from /usr/lib. If / when we introduce the an incompatible library with the same SONAME to /opt/csw/lib, we break that binary. State 1: /opt/csw/bin/foo NEEDED libbar.so.1, RPATH /opt/csw/lib /usr/lib/libbar.so.1 is available State 2: /opt/csw/bin/foo NEEDED libbar.so.1, RPATH /opt/csw/lib /usr/lib/libbar.so.1 is available /opt/csw/lib/libbar.so.1 is available too, incompatible with /opt/csw/bin/foo I'm not sure if this is a scenario we have to worry about, because the solution is to keep GCC libraries in a subdirectory, which has its own disadvantages - library space fragmentation, sometimes harder to debug linking problems, etc. Maciej _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel