From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752366AbcD1NE3 (ORCPT ); Thu, 28 Apr 2016 09:04:29 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:32948 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbcD1NE1 (ORCPT ); Thu, 28 Apr 2016 09:04:27 -0400 From: Kyeongmin Cho To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Wang Nan , Adrian Hunter , Namhyung Kim , Kyeongmin Cho Subject: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param Date: Thu, 28 Apr 2016 22:00:01 +0900 Message-Id: <1461848401-32125-2-git-send-email-korea.drzix@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1461848401-32125-1-git-send-email-korea.drzix@gmail.com> References: <1461848401-32125-1-git-send-email-korea.drzix@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As libperf-gtk.so cannot find out undefined symbol 'callchain_param', '-rdynamic' option is needed to add the symbol to the dynamic symbol table. Signed-off-by: Kyeongmin Cho --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 000ea21..a3f8b39 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -344,7 +344,7 @@ $(PERF_IN): prepare FORCE $(Q)$(MAKE) $(build)=perf $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(LIBTRACEEVENT_DYNAMIC_LIST) - $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(LIBTRACEEVENT_DYNAMIC_LIST_LDFLAGS) \ + $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) -rdynamic $(LIBTRACEEVENT_DYNAMIC_LIST_LDFLAGS) \ $(PERF_IN) $(LIBS) -o $@ $(GTK_IN): fixdep FORCE -- 2.5.5