Hi Ximin, On Wed, Aug 16, 2017 at 03:40:00PM +0000, Ximin Luo wrote: > It looks like the GCC reviewer that looked at my patch this time around, > really doesn't like environment variables. They seem to be happy to > support the variable (including the syntax) as a command-line flag however.
that sounds more good than bad to me. > For these reasons, I have the following proposal, as a work around for the > time being: > 1. Patch GCC to support BUILD_PATH_PREFIX_MAP as a command-line flag. this > will at least fix packages affected by (a). > 2. Add `gcc` (et al) wrappers to strip-nondeterminism: > 3. Add a Makefile snippet to strip-nondeterminism: [... ] > This idea is similar to hardening-wrapper. That is now deprecated, but was > useful as a stepping-stone to more "proper" fixes. Likewise, this shouldn't > be thought of as "the proper fix", [...] when reading this at first, I didnt like the idea of working it around as you described, but then you have a valid point with hardening-wrapper, so I'm now inclined to accept this. What do other think? also: should we have this discussion in/cc:ed to some Debian bug? -- cheers, Holger
signature.asc
Description: Digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds