Re: [PATCH] perf, tools: Add library dependencies for static perf link

2012-10-01 Thread Andi Kleen
On Sun, Sep 30, 2012 at 06:07:09PM -0700, Andi Kleen wrote: > > This is superfluous, because FLAGS_BFD has -ldl already by your change > > above. This is cascaded downwards. > > I tried to remove it, but that makes it not link again for the static build. > Haven't looked into the causes. Ok looki

Re: [PATCH] perf, tools: Add library dependencies for static perf link

2012-09-30 Thread Andi Kleen
> This is superfluous, because FLAGS_BFD has -ldl already by your change > above. This is cascaded downwards. I tried to remove it, but that makes it not link again for the static build. Haven't looked into the causes. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [PATCH] perf, tools: Add library dependencies for static perf link

2012-09-29 Thread Markus Trippelsdorf
On 2012.09.29 at 11:13 -0700, Andi Kleen wrote: > From: Andi Kleen > > When linking perf statically some of the library dependencies are always > rejected, so libdwarf and libbfd do not work. The problem is that these > libraries (at least on my system) require other libraries. But unlike > a sh