lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Nov 2009 10:23:31 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	"Michael S. Tsirkin" <mst@...hat.com>
Cc:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf tools: support static build


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

> * Michael S. Tsirkin <mst@...hat.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@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ