All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>
To: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Cc: V Srivatsa <vsrivatsa@in.ibm.com>,
	Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
	kexec@lists.infradead.org, Dave Anderson <anderson@redhat.com>,
	Prerna Saxena <prerna@linux.vnet.ibm.com>,
	Reinhard <BUENDGEN@de.ibm.com>
Subject: Re: [PATCH v2 2/8] makedumpfile: Apply relocation while loading module debuginfo.
Date: Tue, 19 Jul 2011 15:29:24 +0530	[thread overview]
Message-ID: <4E25557C.2080509@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110719112749.88d83252.oomichi@mxs.nes.nec.co.jp>

Hi Ken'ich,

On 07/19/2011 07:57 AM, Ken'ichi Ohmichi wrote:
> 
> Hi Mahesh,
> 
> On Fri, 15 Jul 2011 15:51:38 +0530
> Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com> wrote:
>>>
>>> On my machine (RHEL5 x86_64), I cannot compile makedumpfile with this patch.
>>> I guess that it is due to old elfutils of my machine, and I am trying this
>>> problem by newer elfutils.
>>>
>>> I'd like to get some hints, so can you tell me your environment ?
>>> RHEL6 x86_64 ?
>>
>> Yes, I had tested these patches on RHEL6.0 and RHEl6.1 x86_64. As far as
>> I know RHEL6.0 had elfutils-0.148.
>>
>> I did not try my patches on RHEL5 x86-64. Let me see if I can get a
>> RHEL5 x86_64 box to verify.
> 
> I can compile it with elfutils-0.137 and some compiling options on RHEL5.
> We need the following change in Makefile.
> 
> -       $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
> +       $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lbz2 -lebl -ldl -lelf -lz
> 
> 
> By the way, do you have any documents/samples for dwfl_XXXX functions ?
> I'd like to see them for reviewing this patch.

As far as I know there is no formal documentation available for
dwfl_xxxx functions apart from 'elfutils/libdwfl/libdwfl.h' from
elfutils sources. In fact the elfutils itself lacks the Documentation
part for most of it's APIs.

I used 'elfutils/libdwfl/libdwfl.h' from elfutils sources as a reference
which has neat explanation for each dwfl_xxx() functions. Apart from
libdwfl.h I also used to go through actual function implementations
available under elfutils sources.

Thanks,
-Mahesh.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2011-07-19  9:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 20:01 [PATCH v2 2/8] makedumpfile: Apply relocation while loading module debuginfo Mahesh J Salgaonkar
2011-07-15  9:35 ` Ken'ichi Ohmichi
2011-07-15 10:21   ` Mahesh Jagannath Salgaonkar
2011-07-19  2:27     ` Ken'ichi Ohmichi
2011-07-19  9:59       ` Mahesh Jagannath Salgaonkar [this message]
2011-07-19 13:08         ` Ken'ichi Ohmichi
2011-07-25  8:11 ` Ken'ichi Ohmichi
2011-07-27  6:09   ` Mahesh Jagannath Salgaonkar
2011-07-28  9:11     ` Ken'ichi Ohmichi
2011-07-28 10:38       ` Mahesh Jagannath Salgaonkar
2011-07-29  7:21         ` Ken'ichi Ohmichi
2011-08-09 17:42           ` Mahesh J Salgaonkar
2011-08-10  2:30             ` Ken'ichi Ohmichi
2011-07-28 15:11       ` Mahesh Jagannath Salgaonkar
2011-07-29  7:24         ` Ken'ichi Ohmichi
     [not found] <CAA393vjc3vE3PG7EW70+8q3rTfv+yxcN-MbVGvH-nSUE9kCqVw@mail.gmail.com>
2011-07-15 15:08 ` Ken'ichi Ohmichi

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=4E25557C.2080509@linux.vnet.ibm.com \
    --to=mahesh@linux.vnet.ibm.com \
    --cc=BUENDGEN@de.ibm.com \
    --cc=ananth@in.ibm.com \
    --cc=anderson@redhat.com \
    --cc=kexec@lists.infradead.org \
    --cc=oomichi@mxs.nes.nec.co.jp \
    --cc=prerna@linux.vnet.ibm.com \
    --cc=vsrivatsa@in.ibm.com \
    /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.