https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to vit9696 from comment #4)
> Path length limitation in the current case is 200 bytes, but in general the
> issue is that we would like _to be able to properly set the gcda path for
> the target_.(In reply to vit9696 from comment #4)
> Path length limitation in the current case is 200 bytes, but in general the
> issue is that we would like _to be able to properly set the gcda path for
> the target_. Currently the specified path may not even exist when
> cross-compiling, and no approach to change it without prepending to the
> build path is simply inconvenient.

Well, if you do a cross-compilation, then you can use -fprofile-dir=/tmp/foobar
and then use -fprofile-use on the same system where you run the instrumentation
run.

Reply via email to