This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elfutils on Debian?


On 3/16/06, Nathan DeBardeleben <ndebard@lanl.gov> wrote:
> Frank Ch. Eigler wrote:
> >> [...]  Someone on the list sent me a patch file, couple days back.
> >> [...]  Ronald McGrath replied with a patch that sadly didn't apply
> >> cleanly - I tried building afterwards anyway and it didn't work. [...]
> >>
> >
> > That patch is for elfutils configury, not systemtap.  Try applying
> > it to the patched-elfutils source directory, on top of the
> > "compatibility" patch.
> >
> Oh, I did.
> Here's a log:
> > debian:~/elfutils-0.119> patch -p1 < elfutils-systemtap.patch
> > patching file Makefile.am
> > Hunk #1 succeeded at 2 with fuzz 2 (offset 1 line).
> > Hunk #2 FAILED at 29.
> > 1 out of 2 hunks FAILED -- saving rejects to file Makefile.am.rej
> > patching file Makefile.am
> > patch: **** malformed patch at line 26:
> > \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
> This was after previously patching with the portability patch, which
> went in smooth as butter.
> Here's the reject file:
> > ***************
> > *** 29,34 ****
> >            -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
> >            -I$(srcdir)/../lib -I..
> >
> >   YACC = @YACC@ -d
> >   AM_YFLAGS = -pld
> >   AM_LFLAGS = -Pld -olex.yy.c
> > --- 29,36 ----
> >            -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
> >            -I$(srcdir)/../lib -I..
> >
> > + AM_LDFLAGS = -Wl,-rpath-link,../libelf:../libdw
> > +
> >   YACC = @YACC@ -d
> >   AM_YFLAGS = -pld
> >   AM_LFLAGS = -Pld -olex.yy.c
>
> Maybe I'm applying it wrong.  Tips?

Yeah, it's -p0 format :D


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]