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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMD-KS8brrEo=tDKVr4piwFtgeueH1W=831rRo4Km5TGBjCmSg@mail.gmail.com>
Date:	Thu, 28 Apr 2016 23:49:06 +0900
From:	Kyeongmin Cho <korea.drzix@...il.com>
To:	Jiri Olsa <jolsa@...hat.com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
	linux-kernel@...r.kernel.org, Wang Nan <wangnan0@...wei.com>,
	Adrian Hunter <adrian.hunter@...el.com>,
	Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define
 symbol callchain_param

Hi,

Althogh applying my previous patch, it still prints

$ ./perf report --gtk
GTK browser requested but could not find libperf-gtk.so

When printing dlerror() in setup_gtk_browser(),

$ ./perf report --gtk
/home/drzix/lib64/libperf-gtk.so: undefined symbol: callchain_param
GTK browser requested but could not find libperf-gtk.so

After applying this patch, compiling rdynamically to make
libperf-gtk.so find out the symbol, it works.

2016-04-28 23:12 GMT+09:00 Jiri Olsa <jolsa@...hat.com>:
> On Thu, Apr 28, 2016 at 10:00:01PM +0900, Kyeongmin Cho wrote:
>> As libperf-gtk.so cannot find out undefined symbol 'callchain_param',
>> '-rdynamic' option is needed to add the symbol to the dynamic symbol
>> table.
>
> hi,
> following command seems to work for me:
>   $ perf report --gtk
>
> could you please specify what's failing for you?
>
> thanks,
> jirka



-- 
Thanks,
Dr.Zix
" http://cin.fail "

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ