[rb-general] advice on stashing compiler options in a binary
lamby at debian.org
Wed Mar 20 14:34:11 CET 2019
> I recently realized this leads to a paradox with the -fdebug-prefix-map
> option, since the original build directory is recorded in the stashed
> compiler options.
Indeed. I have so far failed to come up with any kind of cleaner
solution when fixing packages affected with this "meta"
reproducibility issue beyond stripping them out with a regular
Of course, this approach is not only aesthetically displeasing, it is
practically problematic too in that one is always potentially playing
catch-up with GCC with new/updated flags. For example, you don't also
mention the parallel -ffile-prefix-map flag which also needs stripping.
: :' : Chris Lamb
`. `'` lamby at debian.org 🍥 chris-lamb.co.uk
More information about the rb-general