From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19476 invoked by alias); 15 Mar 2006 15:38:55 -0000 Received: (qmail 19468 invoked by uid 22791); 15 Mar 2006 15:38:54 -0000 X-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mailwasher.lanl.gov (HELO mailwasher-b.lanl.gov) (192.65.95.54) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Mar 2006 15:38:52 +0000 Received: from ccn-mail.lanl.gov (ccn-mail.lanl.gov [128.165.4.105]) by mailwasher-b.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id k2FFcn06008183 for ; Wed, 15 Mar 2006 08:38:49 -0700 Received: from [128.165.243.132] (euphoria.lanl.gov [128.165.243.132]) by ccn-mail.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id k2FFccF4016083; Wed, 15 Mar 2006 08:38:39 -0700 Message-ID: <441834FD.80903@lanl.gov> Date: Wed, 15 Mar 2006 15:38:00 -0000 From: Nathan DeBardeleben User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: Michael Ellerman , "Michael K. Dolan Jr." , systemtap@sourceware.org Subject: Re: elfutils on Debian? References: <44181EE3.3030908@michaeldolan.com> <44182626.3060501@lanl.gov> <20060315144950.GP6930@redhat.com> In-Reply-To: <20060315144950.GP6930@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 4.7.1.128075 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00799.txt.bz2 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? -- Nathan Correspondence --------------------------------------------------------------------- Nathan DeBardeleben, Ph.D. Los Alamos National Laboratory Parallel Tools Team High Performance Computing Environments phone: 505-667-3428 email: ndebard@lanl.gov ---------------------------------------------------------------------