|
From: Guilhem B. <gu...@my...> - 2005-06-25 13:05:45
|
Hello, > Message: 5 > To: val...@li... > Subject: Re: [Valgrind-users] EM64T and Valgrind > From: Tom Hughes <to...@co...> > Organization: Just Me > Date: Fri, 24 Jun 2005 15:04:32 +0100 > > In message <200...@my...> > > For the present: is the only way to make Valgrind 2.4 build and work > > on this machine, to install a 32bit Linux? Or is there an easier > > solution which would work with the x86_64 Linux? Some compiler options > > that I could pass to gcc to tell it to generate a 32-bit MySQL binary on > > this x86_64 Linux? My goal is to use this machine as much as possible > > as it has 2 CPUs and is hence quite fast - if I could run Valgrind 2.4 > > on it, with whatever tricks it takes, that would be a good thing. > > You can build or install a 32 bit valgrind on a 64 bit box if you > want but it will only be able to run 32 bit executables. Good tip; I tried: installing a Valgrind built on a 32-bit machine, on this EM64T machine, works fine for running 32-bit executables. As expected, trying to run 64-bit executables fails with: valgrind: wrong executable class (eg. 32-bit instead valgrind: of 64-bit) valgrind: do_exec(a.out) failed: Exec format error So this is good enough, I can use this fast machine with Valgrind. Thanks for your help! |