https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268
--- Comment #7 from Sascha Steinbiss <satta at debian dot org> --- Is there any progress on this? Actually such a functionality as provided by -ffile-prefix-map would also be highly desirable in the context of the Reproducible Builds effort [1]. Build-specific source paths included via __FILE__ in gcc-built artefacts are quite common and -- at least from my experience -- a problematic source of binary variation. Cheers Sascha [1] https://reproducible-builds.org