From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19805 invoked by alias); 9 Mar 2006 23:03:47 -0000 Received: (qmail 19798 invoked by uid 22791); 9 Mar 2006 23:03:46 -0000 X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from gateway.sf.frob.com (HELO gateway.sf.frob.com) (64.81.54.130) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Mar 2006 23:03:44 +0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 500F9357B; Thu, 9 Mar 2006 15:03:41 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id 04CA1180AB4; Thu, 9 Mar 2006 15:03:40 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Nathan DeBardeleben Cc: "systemtap@sources.redhat.com" Subject: Re: Problem Building Elfutils (patched) Required by systemtap In-Reply-To: Nathan DeBardeleben's message of Thursday, 9 March 2006 15:19:31 -0700 <4410A9F3.2040101@lanl.gov> X-Shopping-List: (1) Egocentric ebullient rail emotions (2) Fencing horsie (3) Celtic Benedictions (4) Nuclear inconspicuous omission hay Message-Id: <20060309230340.04CA1180AB4@magilla.sf.frob.com> Date: Thu, 09 Mar 2006 23:03:00 -0000 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/msg00751.txt.bz2 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