This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/7957] change request: more flexible %D specs directive so no need to set LD_LIBRARY_PATH
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jun 2013 16:23:34 +0000
- Subject: [Bug driver/7957] change request: more flexible %D specs directive so no need to set LD_LIBRARY_PATH
- Auto-submitted: auto-generated
- References: <bug-7957-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7957
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> I really doubt that we want this option as we have always recommend in
> setting LD_LIBRARY_PATH.
Relying on LD_LIBRARY_PATH can be a liability. The "RPATH is evil" argument is
mostly based on NFS problems, but if I never allow NFS near my systems then
that argument doesn't stand up.
Users should be able to choose for themselves if they want to use RPATH or
LD_LIBRARY_PATH.
PR 53002 makes it easier to use specs to solve this problem, PR 45508 comment
10 describes a plan that would be equivalent to --with-rpath-in-specs, so
closing this as a dup
*** This bug has been marked as a duplicate of bug 45508 ***