All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Paul Mackerras <paulus@samba.org>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf tools: support static build
Date: Tue, 17 Nov 2009 10:23:31 +0100	[thread overview]
Message-ID: <20091117092331.GA23585@elte.hu> (raw)
In-Reply-To: <20091104110604.GE13194@elte.hu>


* Ingo Molnar <mingo@elte.hu> wrote:

> * Michael S. Tsirkin <mst@redhat.com> wrote:
> 
> > This makes it possible to build perf statically, by performing make 
> > LDFLAGS=-static
> >
> > Since static libraries are only searched in the order they are 
> > specified, move library list from LDFLAGS to EXTLIBS, so that they are 
> > put at the end of linker command line.
> > 
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > ---
> > 
> > Changes in v2: updated to latest tip.
> 
> The Makefile changed again so your v2 patch is conflicting too - mind 
> updating it to latest -tip?

i've applied your patch to latest -tip and resolved the conflicts 
manually. Normal build works, but static one does not yet:

  aldebaran:~/linux/linux/tools/perf> make -j LDFLAGS=-static
  Makefile:484: *** No libelf.h/libelf found, please install 
  libelf-dev/elfutils-libelf-devel and glibc-dev[el].  Stop.

mind double checking my changes in

  http://people.redhat.com/mingo/tip.git/README

Thanks,

	Ingo

  reply	other threads:[~2009-11-17  9:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29 15:20 [PATCH] perf tools: support static build Michael S. Tsirkin
2009-11-04 11:06 ` Ingo Molnar
2009-11-17  9:23   ` Ingo Molnar [this message]
2009-11-22 11:27     ` Michael S. Tsirkin
2009-11-22 11:39       ` Michael S. Tsirkin
2009-11-22 12:02         ` Ingo Molnar
2009-11-22 12:11           ` Michael S. Tsirkin
2009-11-22 13:02             ` Ingo Molnar
2009-11-22 22:40         ` Paul Mackerras
2009-11-23  8:45           ` Ingo Molnar
2009-11-22 12:06       ` [tip:perf/core] perf tools: Add V=2 option to help debug config issues tip-bot for Michael S. Tsirkin
2009-11-17  9:24 ` [tip:perf/core] perf tools: Support static build tip-bot for Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2009-10-28  7:04 [PATCH] perf tools: support " Michael S. Tsirkin
2009-10-29  8:06 ` Ingo Molnar

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=20091117092331.GA23585@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=paulus@samba.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.