All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf build: Disable libdw DWARF unwind when built with NO_DWARF
@ 2015-04-29 11:15 Naveen N. Rao
  2015-05-08 19:44 ` Arnaldo Carvalho de Melo
  2015-05-10  7:12 ` [tip:perf/core] " tip-bot for Naveen N. Rao
  0 siblings, 2 replies; 6+ messages in thread
From: Naveen N. Rao @ 2015-04-29 11:15 UTC (permalink / raw)
  To: acme; +Cc: linux-kernel

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

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-11 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 11:15 [PATCH] perf build: Disable libdw DWARF unwind when built with NO_DWARF Naveen N. Rao
2015-05-08 19:44 ` Arnaldo Carvalho de Melo
2015-05-11 13:36   ` Jiri Olsa
2015-05-11 14:01     ` Arnaldo Carvalho de Melo
2015-05-11 16:03       ` Naveen N. Rao
2015-05-10  7:12 ` [tip:perf/core] " tip-bot for Naveen N. Rao

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.