From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 750A3E006E6; Mon, 6 Apr 2015 09:48:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 337DEE003A8 for ; Mon, 6 Apr 2015 09:48:18 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.9) with ESMTP id t36Gm7WV024485 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 6 Apr 2015 09:48:07 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.36.228) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.224.2; Mon, 6 Apr 2015 09:48:06 -0700 Message-ID: <5522B8C6.9060904@windriver.com> Date: Mon, 6 Apr 2015 11:48:06 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: References: <618709705.452561428311237038.JavaMail.weblogic@epmlwas06a> In-Reply-To: <618709705.452561428311237038.JavaMail.weblogic@epmlwas06a> Cc: Vaneet Narang , "yocto@yoctoproject.org" , AJEET YADAV Subject: Re: [prelink-cross][PATCH 1/1] debug message for dependencies not found X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 16:48:23 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit This and the other patch have been merged onto the cross_prelink_staging branch. Please test that I merged it properly. (Everything passed my basic testing, but I haven't run it against any ARM/HF libraries or similar.) --Mark On 4/6/15 4:07 AM, Maninder Singh wrote: > Hi, > Same mail sent earlier Changing subject line, By mistake shared subject line of other patch. > > prelink gives below error message for failure dependency: > ./prelink: /test_binary: Could not find one of the dependencies > > This provides name of dependent library which is missing like below: > ./prelink: /test_binary: Could not find one of the dependencies: > ./prelink-rtld: error while loading shared libraries: libB.so: cannot open shared object file: No such file or directory > where libB.so is missing dependecy > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > Reviewed-by: Ajeet Yadav > Reviewed-by: Geon-ho Kim > --- > src/gather.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gather.c b/src/gather.c > index 5ccd243..4a3f428 100644 > --- a/src/gather.c > +++ b/src/gather.c > @@ -240,8 +240,8 @@ gather_deps (DSO *dso, struct prelink_entry *ent) > if (q != NULL) > { > error (0, 0, > - "%s: Could not find one of the dependencies", > - ent->filename); > + "%s: Could not find one of the dependencies:\n%s", > + ent->filename, line); > goto error_out; > } > } > -- > > > Thanks > Maninder Singh >