This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Profile-directed feedback and remote testing
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, Nathan Sidwell <nathan at codesourcery dot com>
- Date: 25 Mar 2005 10:17:22 +0100
- Subject: Re: Profile-directed feedback and remote testing
- Organization: Integrable Solutions
- References: <4243C4FB.8090000@codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
| When we generate data for feedback, we insert the .gcda name into the
| object file as an absolute path. As a result, when we try to do
| remote testing, we lose, as, in general the remote file system does
| not have the same file hierarchy as the build system.
|
| I understand why we generate an asbolute path; we want to make sure
| that the data ends up there, not in the directory where the user
| happens to run the program. So, I intend to disable these tests when
| $host != $target. Any objections, or better ideas?
I'm supportive of that idea.
Maybe an option to tell the compiler where to put thos .gcda files?
(in general, when the "user" running the compiler does not have the
same rights as the "builder", one runs into the same problem. I used
to find that quite annoying.)
-- Gaby