lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf build: Disable libdw DWARF unwind when built with NO_DWARF
On Fri, May 08, 2015 at 04:44:04PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Apr 29, 2015 at 04:45:31PM +0530, Naveen N. Rao escreveu:
> > We get a linker error if we try to build with NO_DWARF since we build
> > util/unwind-libdw.c, but do not include -ldw
>
> Thanks, applied, but adding Jiri to the CC list, lets see if he pokes
> some hole on this one...

it seems reasonable ;-) ack

jirka

>
> - Arnaldo
>
> > Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
> > ---
> > tools/perf/config/Makefile | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
> > index 59a98c6..d47c4dc 100644
> > --- a/tools/perf/config/Makefile
> > +++ b/tools/perf/config/Makefile
> > @@ -268,6 +268,10 @@ else
> > endif # libelf support
> > endif # NO_LIBELF
> >
> > +ifdef NO_DWARF
> > + NO_LIBDW_DWARF_UNWIND := 1
> > +endif
> > +
> > ifndef NO_LIBELF
> > CFLAGS += -DHAVE_LIBELF_SUPPORT
> > EXTLIBS += -lelf
> > --
> > 2.3.5


\
 
 \ /
  Last update: 2015-05-11 15:41    [W:0.098 / U:1.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site