https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93401
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #3) > Just to summarize discussions we had. I think we need to think through > setup where there are different build, train and pgo-buid machines and the > directories are not known in advance. In that case I would recommend to use related paths for GCDA files with -fprofile-generate (without a folder). Then one needs to tar all .gcda files, move them to a different machine an extract. It will not suffer from a different path prefix.