https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348
--- Comment #13 from Qing Zhao <qing.zhao at oracle dot com> --- > The only exception is a cross-profiling: > https://gcc.gnu.org/onlinedocs/gcc/Cross-profiling.html > > where one can use GCOV_PREFIX environment variable to save .gcda files to a > separate location. > > Do you use it? Or do you use any of -fprofile-dir options? Yes, We use -fprofile-dir=pd%p when compile the modules.