[rb-general] advice on stashing compiler options in a binary

Ludovic Courtès ludo at gnu.org
Thu Mar 21 18:21:00 CET 2019


Hello,

"Chris Lamb" <lamby at debian.org> skribis:

>> 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
> expression.

I’d argue that stripping those recorded configure flags is a reasonable
thing to do since, by definition, we know how to reproduce this build,
so we know how to get those configure flags and more should we need them.

Ludo’.


More information about the rb-general mailing list