Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-15 Thread Philippe Waroquiers
On Mon, 2014-04-14 at 15:38 +0200, Josef Weidendorfer wrote: > Am 13.04.2014 13:37, schrieb Philippe Waroquiers: > > To my knowledge, 2 techniques are working to profile valgrind: > > 1. oprofile > > 2. self-hosting (i.e. running valgrind under a valgrind tool such as > >callgrind or cachegrind

Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-15 Thread Josef Weidendorfer
Am 13.04.2014 13:37, schrieb Philippe Waroquiers: > On Sun, 2014-04-06 at 19:29 -0700, janjust wrote: >> Hi, >>I'm trying to profile valgrind using perftools-lite and when compiling >> the tools I get an undefined reference error. >> VEX and coregrind build, but during linking it errs (error is

Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-13 Thread Philippe Waroquiers
On Sun, 2014-04-06 at 19:29 -0700, janjust wrote: > Hi, >I'm trying to profile valgrind using perftools-lite and when compiling > the tools I get an undefined reference error. > VEX and coregrind build, but during linking it errs (error is below). > > I think it has do with static linking, the

Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-07 Thread John Reiser
Hi janjust, > I found that perftools-lite do not support static > linking (kinda odd). > There are no perf.a files to be linked statically with valgrind; however, > perftools should work with static linking. > > The perftools process is: > build your application and retain object files, then use

Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-07 Thread janjust
Hi John, Thanks for the reply. I found that perftools-lite do not support static linking (kinda odd). There are no perf.a files to be linked statically with valgrind; however, perftools should work with static linking. The perftools process is: build your application and retain object files, then

Re: [Valgrind-users] building valgrind + perftools-lite linking error

2014-04-06 Thread John Reiser
>I'm trying to profile valgrind using perftools-lite and when compiling > the tools I get an undefined reference error. > VEX and coregrind build, but during linking it errs (error is below). > > I think it has do with static linking, the build command in memcheck was: > > ../coregrind/link_t

[Valgrind-users] building valgrind + perftools-lite linking error

2014-04-06 Thread janjust
Hi, I'm trying to profile valgrind using perftools-lite and when compiling the tools I get an undefined reference error. VEX and coregrind build, but during linking it errs (error is below). I think it has do with static linking, the build command in memcheck was: ../coregrind/link_tool_exe_li