public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Nathan DeBardeleben <ndebard@lanl.gov>
Cc: "systemtap@sources.redhat.com" <systemtap@sources.redhat.com>
Subject: Re: Problem Building Elfutils (patched) Required by systemtap
Date: Thu, 09 Mar 2006 23:03:00 -0000	[thread overview]
Message-ID: <20060309230340.04CA1180AB4@magilla.sf.frob.com> (raw)
In-Reply-To: Nathan DeBardeleben's message of  Thursday, 9 March 2006 15:19:31 -0700 <4410A9F3.2040101@lanl.gov>

That's a bug in the elfutils build that crops up when you don't have any
other elfutils-libelf-devel installed on the system.  This patch should fix it.


Thanks,
Roland


============================================================
--- src/Makefile.am	06ef04bf12b001c9f3de32573106bdcc4dfe9e55
+++ src/Makefile.am	5728692baa7ffc9a42fda2b58ec70f98e2eb979f
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 ##
-## Copyright (C) 1996-2002, 2003, 2004, 2005 Red Hat, Inc.
+## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
 ##
 ## This program is Open Source software; you can redistribute it and/or
 ## modify it under the terms of the Open Software License version 1.0 as
@@ -28,6 +28,8 @@
 	   -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
============================================================
--- tests/Makefile.am	a3ced4165ea5152b4f9266ec6948a4b05ad2c699
+++ tests/Makefile.am	dc33c353cee1d3e14a6227b399ea9c27bd2d1e22
@@ -23,15 +23,18 @@
 BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
 endif
 
+AM_LDFLAGS =
+
 if !STANDALONE
 INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
 	   -I$(top_srcdir)/libdwfl \
 	   -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
 	   -I$(top_srcdir)/lib -I..
+AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf
 endif !STANDALONE
 
 if TESTS_RPATH
-AM_LDFLAGS = -Wl,-rpath,$(BUILT_RPATH)
+AM_LDFLAGS += -Wl,-rpath,$(BUILT_RPATH)
 tests_rpath = yes
 else
 tests_rpath = no

  parent reply	other threads:[~2006-03-09 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 22:20 Nathan DeBardeleben
2006-03-09 22:59 ` Frank Ch. Eigler
2006-03-09 23:03   ` Nathan DeBardeleben
2006-03-09 23:03 ` Roland McGrath [this message]
2006-03-09 22:25 Warner, Christopher

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=20060309230340.04CA1180AB4@magilla.sf.frob.com \
    --to=roland@redhat.com \
    --cc=ndebard@lanl.gov \
    --cc=systemtap@sources.redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).