|
From: Victor S. <vse...@pa...> - 2005-08-18 19:08:10
|
I have built Valgrind 3 on an Opteron machine with RHEL 3.3 and glibc-2.3.2-95.27, using gcc 3.4.4. It grinds programs built with gcc or c++ , which means 64-bit programs. However, if I try to grind a 32-bit program made with gcc296, it refuses saying: === valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit) === valgrind: do_exec(linux/SeisX) failed: Exec format error Is there a command line flag for 32/64 ? =or= Can I build and install two valgrinds on the same machine? A valgrind built with gcc on a 32 bit AMD machine runs on that same machine, but when I tried to install it under a different prefix on the Opteron box it produced segfaults. Is there a way? Please advise, and thank you very much, Victor Secarin |