All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <maninder1.s@samsung.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Cc: Vaneet Narang <v.narang@samsung.com>,
	AJEET YADAV <ajeet.y@samsung.com>,
	pankaj.m@samsung.com
Subject: Re: [prelink-cross] LD_PRELOAD Implementation in Prelink
Date: Sat, 12 Sep 2015 09:21:41 -0500	[thread overview]
Message-ID: <55F434F5.7010801@windriver.com> (raw)
In-Reply-To: <87817094.969641442036116314.JavaMail.weblogic@ep2mlwas07a>

On 9/12/15 12:35 AM, Maninder Singh wrote:
> Hi Mark,
> 
> Thanks for checking,
> 
> There is one bug in this patch , we will share the fix after testing probably on monday.

I added what I thought was a fairly reasonable test case to prelink.
testsuite/preload1*

Can you update the test case to include a specific check for the failure you are
aware of so we can avoid it in the future?

--Mark

> Thanks
> Maninder Singh
> 
> 
>>> Merged to the staging branch.
> 
>> On 5/18/15 12:17 AM, Maninder Singh wrote:
>>> EP-F6AA0618C49C4AEDA73BFF1B39950BAB
>>> Hi,
>>>
>>> Subject: [PATCH 1/1] LD_PRELOAD Implementation in Prelink
>>>
>>> prelink fails if  there are ld_preload libs present at target with below error.
>>> 	expect libsX.so.1, found /lib/libY.so in dependency order
>>> 	where libY.so.1 is ld_preload lib
>>>  
>>> To use this feature :
>>> ./prelink --ld-preload=libpreload1.so:libpreload2.so:.... upto 20 libs
>>> Order of libraries to be preloaded is significant. Make sure sequence
>>> mentioned in prelink
>>> should be same as runtime sequence.
>>>
>>> Signed-off-by: Vaneet Narang <v.narang@samsung.com>
>>> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
>>> Reviewed-by: Ajeet Yadav <ajeet.v@samsung.com>
>>> Reviewed-by: Geon-ho Kim <gh007.kim@samsung.com>
>>> ---
>>>  src/gather.c    |    8 +++++++-
>>>  src/get.c       |    9 ++++++++-
>>>  src/main.c      |    6 ++++++
>>>  src/prelink.h   |    1 +
>>>  src/rtld/rtld.c |   51 +++++++++++++++++++++++++++++++++++++++++++++------
>>>  5 files changed, 67 insertions(+), 8 deletions(-)



      reply	other threads:[~2015-09-12 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12  5:35 [prelink-cross] LD_PRELOAD Implementation in Prelink Maninder Singh
2015-09-12 14:21 ` Mark Hatle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F434F5.7010801@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=ajeet.y@samsung.com \
    --cc=maninder1.s@samsung.com \
    --cc=pankaj.m@samsung.com \
    --cc=v.narang@samsung.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.