[rb-general] GCC build-path patch getting blocked

Holger Levsen holger at layer-acht.org
Wed Aug 30 17:01:24 CEST 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20170830/61b09879/attachment.sig>


More information about the rb-general mailing list