Re: [PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-29 Thread Jiri Olsa
On Mon, Apr 28, 2014 at 09:23:04AM -0600, David Ahern wrote: > On 4/28/14, 9:17 AM, Jiri Olsa wrote: > >On Mon, Apr 28, 2014 at 09:01:57AM -0600, David Ahern wrote: > >>On 4/28/14, 3:22 AM, Jiri Olsa wrote: > >>>From: Jiri Olsa > >>> > >>>There's false assumption in the library detection code > >>

Re: [PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-28 Thread Ingo Molnar
* Jiri Olsa wrote: > On Mon, Apr 28, 2014 at 09:01:57AM -0600, David Ahern wrote: > > On 4/28/14, 3:22 AM, Jiri Olsa wrote: > > >From: Jiri Olsa > > > > > >There's false assumption in the library detection code > > >assuming -liberty and -lz are always present once bfd > > >is detected. The fai

Re: [PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-28 Thread David Ahern
On 4/28/14, 9:17 AM, Jiri Olsa wrote: On Mon, Apr 28, 2014 at 09:01:57AM -0600, David Ahern wrote: On 4/28/14, 3:22 AM, Jiri Olsa wrote: From: Jiri Olsa There's false assumption in the library detection code assuming -liberty and -lz are always present once bfd is detected. The fails on Ubunt

Re: [PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-28 Thread Jiri Olsa
On Mon, Apr 28, 2014 at 09:01:57AM -0600, David Ahern wrote: > On 4/28/14, 3:22 AM, Jiri Olsa wrote: > >From: Jiri Olsa > > > >There's false assumption in the library detection code > >assuming -liberty and -lz are always present once bfd > >is detected. The fails on Ubuntu (14.04) as reported > >

Re: [PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-28 Thread David Ahern
On 4/28/14, 3:22 AM, Jiri Olsa wrote: From: Jiri Olsa There's false assumption in the library detection code assuming -liberty and -lz are always present once bfd is detected. The fails on Ubuntu (14.04) as reported by Ingo. Forcing the bdf dependency libraries detection any time bfd library i

[PATCH] perf tools: Fix bfd dependency libraries detection

2014-04-28 Thread Jiri Olsa
From: Jiri Olsa There's false assumption in the library detection code assuming -liberty and -lz are always present once bfd is detected. The fails on Ubuntu (14.04) as reported by Ingo. Forcing the bdf dependency libraries detection any time bfd library is detected. Reported-by: Ingo Molnar T