|
From: Guilhem B. <gu...@my...> - 2005-06-24 13:54:50
|
Hello,
I'm running MySQL in Valgrind.
I believe Valgrind has no support for EM64T yet, and that AMD64 goes
first in the TODO. I wonder if when Valgrind 3.0 runs on AMD64, it will
run on EM64T immediately too, given the existing compatibility between
AMD64 and EM64T? If not, are there plans to make Valgrind run on Xeon
EM64T ?
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.
Thank you very much for your help!
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Guilhem Bichot <gu...@my...>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Software Developer
/_/ /_/\_, /___/\___\_\___/ Bordeaux, France
<___/ www.mysql.com
|
|
From: Tom H. <to...@co...> - 2005-06-24 14:04:41
|
In message <200...@my...>
Guilhem Bichot <gu...@my...> wrote:
> I believe Valgrind has no support for EM64T yet, and that AMD64 goes
> first in the TODO. I wonder if when Valgrind 3.0 runs on AMD64, it will
> run on EM64T immediately too, given the existing compatibility between
> AMD64 and EM64T? If not, are there plans to make Valgrind run on Xeon
> EM64T ?
The SVN tree for valgrind 3 does run on amd64 and should therefore
run on EM64T as well - for all practical purposes the two can be
considered as identical for a user mode program like valgrind.
> 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.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Bryan O'S. <bo...@se...> - 2005-06-24 21:53:53
|
On Fri, 2005-06-24 at 15:04 +0100, Tom Hughes wrote: > The SVN tree for valgrind 3 does run on amd64 and should therefore > run on EM64T as well - for all practical purposes the two can be > considered as identical for a user mode program like valgrind. There are some user-mode visible differences, the main one being the 3dnow instructions. These may show up in practice, depending on the compiler and flags you use. <b -- Bryan O'Sullivan <bo...@se...> |
|
From: Tom H. <to...@co...> - 2005-06-24 22:56:51
|
In message <1119649989.11428.11.camel@localhost.localdomain>
Bryan O'Sullivan <bo...@se...> wrote:
> On Fri, 2005-06-24 at 15:04 +0100, Tom Hughes wrote:
>
> > The SVN tree for valgrind 3 does run on amd64 and should therefore
> > run on EM64T as well - for all practical purposes the two can be
> > considered as identical for a user mode program like valgrind.
>
> There are some user-mode visible differences, the main one being the
> 3dnow instructions. These may show up in practice, depending on the
> compiler and flags you use.
But as valgrind has never supported those, even on x86, it isn't
likely to be a problem ;-)
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|