From nickc@redhat.com  Tue Aug  8 17:52:48 2000
Return-Path: <nickc@redhat.com>
Received: from cygnus.com (runyon.cygnus.com [205.180.230.5])
	by hub.freebsd.org (Postfix) with ESMTP id 3919537B908
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2000 17:52:38 -0700 (PDT)
	(envelope-from nickc@redhat.com)
Received: from elmo.cygnus.com (elmo.cygnus.com [205.180.230.137])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA20519;
	Tue, 8 Aug 2000 17:52:29 -0700 (PDT)
Received: (nickc@localhost) by elmo.cygnus.com (8.9.3/8.6.4) id RAA21611; Tue, 8 Aug 2000 17:52:29 -0700
Message-Id: <200008090052.RAA21611@elmo.cygnus.com>
Date: Tue, 8 Aug 2000 17:52:29 -0700
From: Nick Clifton <nickc@redhat.com>
To: peter.jeremy@alcatel.com.au
Cc: FreeBSD-gnats-submit@freebsd.org, bug-gnu-utils@gnu.org
Subject: Re: ld error messages refers to undocumented option --rpath

>Number:         20492
>Category:       gnu
>Synopsis:       Re: ld error messages refers to undocumented option --rpath
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 18:00:00 PDT 2000
>Closed-Date:    Wed Oct 11 12:07:07 PDT 2000
>Last-Modified:  Wed Oct 11 12:08:13 PDT 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Hi Peter,
 
 : 	When linking against a shared library that references another
 : 	shared library, if the implicitly referenced library cannot
 : 	be located, ld will report an error like:
 : /usr/libexec/elf/ld: warning: libfoo.so, needed by ./libbar.so, not found (try using --rpath)
 : 
 : 	There is no option `--rpath' documented in either ld.1 or ld.texinfo
 : 	and the message should refer to `-rpath' and/or `-rpath-link'.
 : 
 : 	(Note that ld parses `--rpath' the same as `-rpath', along with
 : 	other long options.  I'm not sure whether this is a bug or a feature).
 
 It is a feature.
 
 : Index: elf32.em
 : ===================================================================
 : RCS file: /home/CVSROOT/src/contrib/binutils/ld/emultempl/elf32.em,v
 : retrieving revision 1.3
 : diff -u -r1.3 elf32.em
 : --- elf32.em	2000/05/13 17:51:22	1.3
 : +++ elf32.em	2000/08/03 20:52:35
 : @@ -451,7 +451,7 @@
 :        if (force < 2)
 :  	continue;
 :  
 : -      einfo ("%P: warning: %s, needed by %B, not found (try using --rpath)\n",
 : +      einfo ("%P: warning: %s, needed by %B, not found (try using -rpath or -rpath-link)\n",
 :  	     l->name, l->by);
 :      }
 :  }
 
 Approved and applied.
 
 Cheers
 	Nick
 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: peter 
Responsible-Changed-When: Mon Sep 25 12:03:17 PDT 2000 
Responsible-Changed-Why:  
Orphaned PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20492 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Wed Oct 11 12:07:07 PDT 2000 
State-Changed-Why:  
This was supposed to be a follow up to PR 20387, 
which now cross references this PR and we can closed this one. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=20492 
>Unformatted:
