On 20 August 2007 at 22:04, Ben Goodrich wrote: | -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | Hi all, | | Dirk Eddelbuettel wrote: | > Doug, | > | > On 20 August 2007 at 11:12, Douglas Bates wrote: | > | I have been able to run the development version of R with valgrind on | > | an Ubuntu (gutsy) amd64 system. I am compiling R with the 4.2.1 | > | series of the gcc compilers. | > | > Thanks for that. Ben, how does your system differ? | > | > Dirk | > | | I have multiple versions of GCC, but 4.1.3 is the default: | | [EMAIL PROTECTED]:~$ gcc --version | gcc (GCC) 4.1.3 20070812 (prerelease) (Debian 4.1.2-15) | Copyright (C) 2006 Free Software Foundation, Inc. | This is free software; see the source for copying conditions. There is | NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR | PURPOSE. | | [EMAIL PROTECTED]:~$ gcc-4.2 --version | gcc-4.2 (GCC) 4.2.1 (Debian 4.2.1-2) | Copyright (C) 2007 Free Software Foundation, Inc. | This is free software; see the source for copying conditions. There is | NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR | PURPOSE. | | Valgrind version is the same as Doug: | [EMAIL PROTECTED]:~$ valgrind --version | valgrind-3.2.3-Debian | | I noticed this problem with R 2.5.1 (binary from Debian unstable or | source from CRAN); do you want me to try the SVN version of R?
Could be the compiler, could be R. FWIW the debian/rules specifies gcc 4.2 as per # edd 03 Apr 2006 switch to gfortran # edd 04 Apr 2006 use optimflags, build per-compiler flags later # edd 26 Jun 2007 need 4.2 for fortran linking fortrancompiler = F77=gfortran-4.2 compiler = gcc-4.2 cxxcompiler = g++-4.2 optimflags = -O3 -pipe and those variables are used later in the configure and make calls. Another possible source of trouble could be if you mix local and external packages with different compilers, though it's been a while that I've seen trouble from that. But maybe life is trickier on amd64 -- dunno. Dirk -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

