[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()
satta at debian dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 11 13:17:00 GMT 2016
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
More information about the Gcc-bugs
mailing list