Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-04 Thread Ximin Luo
Mike Stump: > On Nov 3, 2016, at 1:01 PM, Ximin Luo wrote: >> Log snippets attached. > > Ick. You missed the utility of contrib/compare_tests. :-) > > If you say: > > contrib/compare_tests oldbuilddir newbuilddir > > You can then sit back and see everything as you'd expect and want. The

Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-03 Thread Mike Stump
On Nov 3, 2016, at 1:01 PM, Ximin Luo wrote: > Log snippets attached. Ick. You missed the utility of contrib/compare_tests. :-) If you say: contrib/compare_tests oldbuilddir newbuilddir You can then sit back and see everything as you'd expect and want. The output is priority sorted and u

Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-03 Thread Ximin Luo
Ximin Luo: > Testing > === > > I've tested these patches on a Debian testing/unstable x86_64-linux-gnu > system. > So far I've only run the new tests that this patch adds, on a > disable-bootstrap > build. I will do a full bootstrap and run the full testsuite over the next few > days, both w

Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-02 Thread Ximin Luo
Ximin Luo: > Joseph Myers: >> On Wed, 2 Nov 2016, Ximin Luo wrote: >> >>> This patch series adds a new environment variable SOURCE_PREFIX_MAP. When >>> this >>> is set, GCC will treat this as an implicit "-fdebug-prefix-map=$value" >>> command-line argument. This makes the final binary output repr

Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-02 Thread Ximin Luo
Joseph Myers: > On Wed, 2 Nov 2016, Ximin Luo wrote: > >> This patch series adds a new environment variable SOURCE_PREFIX_MAP. When >> this >> is set, GCC will treat this as an implicit "-fdebug-prefix-map=$value" >> command-line argument. This makes the final binary output reproducible, and > >

Re: [PATCH] Generate reproducible output independently of the build-path

2016-11-02 Thread Joseph Myers
On Wed, 2 Nov 2016, Ximin Luo wrote: > This patch series adds a new environment variable SOURCE_PREFIX_MAP. When this > is set, GCC will treat this as an implicit "-fdebug-prefix-map=$value" > command-line argument. This makes the final binary output reproducible, and Only one argument? Sometime

[PATCH] Generate reproducible output independently of the build-path

2016-11-02 Thread Ximin Luo
(Please keep me on CC, I am not subscribed) Background == We are on a long journey to make build processes be able to reproduce the build outputs independently of which filesystem path the build is being executed from - e.g. if the executing user doesn't have root access to be able to exe