Shared library runpath trouble in Solaris.

Ian Lance Taylor ian@cygnus.com
Mon Nov 10 09:08:00 GMT 1997


   From: Teemu Torma <tot@Trema.COM>
   Date: Mon, 10 Nov 1997 18:04:19 +0100

   I'd say it is essential to fix it.  And the linker can not be fixed
   to undo NFS mounts, only to optimize unused directories away, as far
   as I can see it.

Optimizing away unused directories is essential.  Your patch would
impose the directory requirements on all C programs, which presumably
do not use the shared libstdc++ anyhow.  It would also impose the
directory requirements even on people who do not have a shared
libstdc++.

The problem is not programs that do require the directories; those
programs are going to hang no matter what you do.  The problem is
programs that do not require the directories.

Ian



More information about the Gcc mailing list