Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753673AbbDRPqi (ORCPT ); Sat, 18 Apr 2015 11:46:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38917 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbbDRPqe (ORCPT ); Sat, 18 Apr 2015 11:46:34 -0400 Date: Sat, 18 Apr 2015 17:46:18 +0200 From: Jiri Olsa To: Mathias Krause Cc: "linux-kernel@vger.kernel.org" , Arnaldo Carvalho de Melo , Ingo Molnar , Paul Mackerras , Peter Zijlstra Subject: Re: [PATCH] perf: Ensure symbols for plugins are exported Message-ID: <20150418154618.GB15063@krava.brq.redhat.com> References: <1428854451-28361-1-git-send-email-minipli@googlemail.com> <20150417153430.GF17654@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1044 Lines: 24 On Fri, Apr 17, 2015 at 11:01:07PM +0200, Mathias Krause wrote: > On 17 April 2015 at 17:34, Jiri Olsa wrote: > > On Sun, Apr 12, 2015 at 06:00:51PM +0200, Mathias Krause wrote: > >> When building perf with perl or python support it implicitly gets linked > >> with the -export-dynamic linker option through the additional linker > >> flags, namely with -Wl,-E via perl or -Xlinker -export-dynamic via > >> python. That flag is essential for the traceevent plugin support so we > >> shouldn't rely on adding it implicitly. I dont see the -E flag being added for perl on my setup, but I guess that could be different on each distro maybe we should look for proper fix and export only needed symbols, anyway for this bugfix: Acked-by: Jiri Olsa thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/