unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob a3974ad8d137495e2ae163d5dee2107be47b9852 1473 bytes (raw)
name: gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
Courtesy "Bernhard M. Wiedemann" <bernhardout@lsmod.de>

Removing -fprofile-generate, -fprofile-use makes gcc build bit-for-bit reproducible.

diff -purN gcc-5.4.0.orig/Makefile.in gcc-5.4.0/Makefile.in
--- gcc-5.4.0.orig/Makefile.in	1970-01-01 01:00:00.000000000 +0100
+++ gcc-5.4.0/Makefile.in	2017-11-03 15:34:56.415033525 +0100
@@ -502,10 +502,10 @@ STAGE1_CONFIGURE_FLAGS = --disable-inter
 	  --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
 	  --disable-build-format-warnings
 
-STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
+STAGEprofile_CFLAGS = $(STAGE2_CFLAGS)
 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
 
-STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
+STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS)
 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
 
 do-compare = @do_compare@
diff -purN gcc-5.4.0.orig/Makefile.tpl gcc-5.4.0/Makefile.tpl
--- gcc-5.4.0.orig/Makefile.tpl	1970-01-01 01:00:00.000000000 +0100
+++ gcc-5.4.0/Makefile.tpl	2017-11-03 15:34:27.146557384 +0100
@@ -455,10 +455,10 @@ STAGE1_CONFIGURE_FLAGS = --disable-inter
 	  --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
 	  --disable-build-format-warnings
 
-STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
+STAGEprofile_CFLAGS = $(STAGE2_CFLAGS)
 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
 
-STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
+STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS)
 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
 
 do-compare = @do_compare@

debug log:

solving a3974ad8d ...
found a3974ad8d in https://yhetil.org/guix-devel/87efp6x7pm.fsf@gnu.org/

applying [1/1] https://yhetil.org/guix-devel/87efp6x7pm.fsf@gnu.org/
diff --git a/gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch b/gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch
new file mode 100644
index 000000000..a3974ad8d

1:15: space before tab in indent.
 	  --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
1:16: space before tab in indent.
 	  --disable-build-format-warnings
1:17: trailing whitespace.
 
1:21: trailing whitespace.
 
1:25: trailing whitespace.
 
Checking patch gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch...
Applied patch gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch cleanly.
warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.

index at:
100644 a3974ad8d137495e2ae163d5dee2107be47b9852	gnu/packages/patches/gcc-5-reproducibility-drop-profile.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).