[PATCH v2 2/8] makedumpfile: Apply relocation while loading module debuginfo.
Ken'ichi Ohmichi
oomichi at mxs.nes.nec.co.jp
Mon Jul 18 22:27:49 EDT 2011
Hi Mahesh,
On Fri, 15 Jul 2011 15:51:38 +0530
Mahesh Jagannath Salgaonkar <mahesh at 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.
Thanks
Ken'ichi Ohmichi
More information about the kexec
mailing list