Overview

Request 509329 superseded

Use --enable-deterministic-archives again now that rh#1124342 and make bug rh#1136481 have been fixed

not sure if _that_ make bug was our make bug though.
At least so far I did not experience any build failures
in 11000 Factory packages.

Tested it to fix build-compare for packages like
cross-epiphany-gcc7-bootstrap
cross-epiphany-gcc6-bootstrap
where genchecksum would hash .a files into cc1-checksum.c

old: devel:gcc/binutils
new: home:bmwiedemann:reproducible/binutils rev None
Index: binutils.changes
===================================================================
--- binutils.changes (revision 241)
+++ binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: binutils.spec
===================================================================
--- binutils.spec (revision 241)
+++ binutils.spec (revision 2)
@@ -226,19 +226,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-aarch64-binutils.changes
===================================================================
--- cross-aarch64-binutils.changes (revision 241)
+++ cross-aarch64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-aarch64-binutils.spec
===================================================================
--- cross-aarch64-binutils.spec (revision 241)
+++ cross-aarch64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-arm-binutils.changes
===================================================================
--- cross-arm-binutils.changes (revision 241)
+++ cross-arm-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-arm-binutils.spec
===================================================================
--- cross-arm-binutils.spec (revision 241)
+++ cross-arm-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-avr-binutils.changes
===================================================================
--- cross-avr-binutils.changes (revision 241)
+++ cross-avr-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-avr-binutils.spec
===================================================================
--- cross-avr-binutils.spec (revision 241)
+++ cross-avr-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-epiphany-binutils.changes
===================================================================
--- cross-epiphany-binutils.changes (revision 241)
+++ cross-epiphany-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-epiphany-binutils.spec
===================================================================
--- cross-epiphany-binutils.spec (revision 241)
+++ cross-epiphany-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-hppa-binutils.changes
===================================================================
--- cross-hppa-binutils.changes (revision 241)
+++ cross-hppa-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-hppa-binutils.spec
===================================================================
--- cross-hppa-binutils.spec (revision 241)
+++ cross-hppa-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-hppa64-binutils.changes
===================================================================
--- cross-hppa64-binutils.changes (revision 241)
+++ cross-hppa64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-hppa64-binutils.spec
===================================================================
--- cross-hppa64-binutils.spec (revision 241)
+++ cross-hppa64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-i386-binutils.changes
===================================================================
--- cross-i386-binutils.changes (revision 241)
+++ cross-i386-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-i386-binutils.spec
===================================================================
--- cross-i386-binutils.spec (revision 241)
+++ cross-i386-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ia64-binutils.changes
===================================================================
--- cross-ia64-binutils.changes (revision 241)
+++ cross-ia64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ia64-binutils.spec
===================================================================
--- cross-ia64-binutils.spec (revision 241)
+++ cross-ia64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-m68k-binutils.changes
===================================================================
--- cross-m68k-binutils.changes (revision 241)
+++ cross-m68k-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-m68k-binutils.spec
===================================================================
--- cross-m68k-binutils.spec (revision 241)
+++ cross-m68k-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-mips-binutils.changes
===================================================================
--- cross-mips-binutils.changes (revision 241)
+++ cross-mips-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-mips-binutils.spec
===================================================================
--- cross-mips-binutils.spec (revision 241)
+++ cross-mips-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc-binutils.changes
===================================================================
--- cross-ppc-binutils.changes (revision 241)
+++ cross-ppc-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc-binutils.spec
===================================================================
--- cross-ppc-binutils.spec (revision 241)
+++ cross-ppc-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc64-binutils.changes
===================================================================
--- cross-ppc64-binutils.changes (revision 241)
+++ cross-ppc64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc64-binutils.spec
===================================================================
--- cross-ppc64-binutils.spec (revision 241)
+++ cross-ppc64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc64le-binutils.changes
===================================================================
--- cross-ppc64le-binutils.changes (revision 241)
+++ cross-ppc64le-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc64le-binutils.spec
===================================================================
--- cross-ppc64le-binutils.spec (revision 241)
+++ cross-ppc64le-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-riscv64-binutils.changes
===================================================================
--- cross-riscv64-binutils.changes (revision 241)
+++ cross-riscv64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-riscv64-binutils.spec
===================================================================
--- cross-riscv64-binutils.spec (revision 241)
+++ cross-riscv64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-rx-binutils.changes
===================================================================
--- cross-rx-binutils.changes (revision 241)
+++ cross-rx-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-rx-binutils.spec
===================================================================
--- cross-rx-binutils.spec (revision 241)
+++ cross-rx-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-s390-binutils.changes
===================================================================
--- cross-s390-binutils.changes (revision 241)
+++ cross-s390-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-s390-binutils.spec
===================================================================
--- cross-s390-binutils.spec (revision 241)
+++ cross-s390-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-s390x-binutils.changes
===================================================================
--- cross-s390x-binutils.changes (revision 241)
+++ cross-s390x-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-s390x-binutils.spec
===================================================================
--- cross-s390x-binutils.spec (revision 241)
+++ cross-s390x-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-sparc-binutils.changes
===================================================================
--- cross-sparc-binutils.changes (revision 241)
+++ cross-sparc-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-sparc-binutils.spec
===================================================================
--- cross-sparc-binutils.spec (revision 241)
+++ cross-sparc-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-sparc64-binutils.changes
===================================================================
--- cross-sparc64-binutils.changes (revision 241)
+++ cross-sparc64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-sparc64-binutils.spec
===================================================================
--- cross-sparc64-binutils.spec (revision 241)
+++ cross-sparc64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-spu-binutils.changes
===================================================================
--- cross-spu-binutils.changes (revision 241)
+++ cross-spu-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-spu-binutils.spec
===================================================================
--- cross-spu-binutils.spec (revision 241)
+++ cross-spu-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-x86_64-binutils.changes
===================================================================
--- cross-x86_64-binutils.changes (revision 241)
+++ cross-x86_64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-x86_64-binutils.spec
===================================================================
--- cross-x86_64-binutils.spec (revision 241)
+++ cross-x86_64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir

Loading...


Bernhard Wiedemann's avatar

tested it to fix build-compare for packages like cross-epiphany-gcc7-bootstrap cross-epiphany-gcc6-bootstrap where genchecksum would hash .a files into cc1-checksum.c

Request History
Bernhard Wiedemann's avatar

bmwiedemann created request

Use --enable-deterministic-archives again now that rh#1124342 and make bug rh#1136481 have been fixed

not sure if _that_ make bug was our make bug though.
At least so far I did not experience any build failures
in 11000 Factory packages.

Tested it to fix build-compare for packages like
cross-epiphany-gcc7-bootstrap
cross-epiphany-gcc6-bootstrap
where genchecksum would hash .a files into cc1-checksum.c

old: devel:gcc/binutils
new: home:bmwiedemann:reproducible/binutils rev None
Index: binutils.changes
===================================================================
--- binutils.changes (revision 241)
+++ binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: binutils.spec
===================================================================
--- binutils.spec (revision 241)
+++ binutils.spec (revision 2)
@@ -226,19 +226,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-aarch64-binutils.changes
===================================================================
--- cross-aarch64-binutils.changes (revision 241)
+++ cross-aarch64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-aarch64-binutils.spec
===================================================================
--- cross-aarch64-binutils.spec (revision 241)
+++ cross-aarch64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-arm-binutils.changes
===================================================================
--- cross-arm-binutils.changes (revision 241)
+++ cross-arm-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-arm-binutils.spec
===================================================================
--- cross-arm-binutils.spec (revision 241)
+++ cross-arm-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-avr-binutils.changes
===================================================================
--- cross-avr-binutils.changes (revision 241)
+++ cross-avr-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-avr-binutils.spec
===================================================================
--- cross-avr-binutils.spec (revision 241)
+++ cross-avr-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-epiphany-binutils.changes
===================================================================
--- cross-epiphany-binutils.changes (revision 241)
+++ cross-epiphany-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-epiphany-binutils.spec
===================================================================
--- cross-epiphany-binutils.spec (revision 241)
+++ cross-epiphany-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-hppa-binutils.changes
===================================================================
--- cross-hppa-binutils.changes (revision 241)
+++ cross-hppa-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-hppa-binutils.spec
===================================================================
--- cross-hppa-binutils.spec (revision 241)
+++ cross-hppa-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-hppa64-binutils.changes
===================================================================
--- cross-hppa64-binutils.changes (revision 241)
+++ cross-hppa64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-hppa64-binutils.spec
===================================================================
--- cross-hppa64-binutils.spec (revision 241)
+++ cross-hppa64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-i386-binutils.changes
===================================================================
--- cross-i386-binutils.changes (revision 241)
+++ cross-i386-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-i386-binutils.spec
===================================================================
--- cross-i386-binutils.spec (revision 241)
+++ cross-i386-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ia64-binutils.changes
===================================================================
--- cross-ia64-binutils.changes (revision 241)
+++ cross-ia64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ia64-binutils.spec
===================================================================
--- cross-ia64-binutils.spec (revision 241)
+++ cross-ia64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-m68k-binutils.changes
===================================================================
--- cross-m68k-binutils.changes (revision 241)
+++ cross-m68k-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-m68k-binutils.spec
===================================================================
--- cross-m68k-binutils.spec (revision 241)
+++ cross-m68k-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-mips-binutils.changes
===================================================================
--- cross-mips-binutils.changes (revision 241)
+++ cross-mips-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-mips-binutils.spec
===================================================================
--- cross-mips-binutils.spec (revision 241)
+++ cross-mips-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc-binutils.changes
===================================================================
--- cross-ppc-binutils.changes (revision 241)
+++ cross-ppc-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc-binutils.spec
===================================================================
--- cross-ppc-binutils.spec (revision 241)
+++ cross-ppc-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc64-binutils.changes
===================================================================
--- cross-ppc64-binutils.changes (revision 241)
+++ cross-ppc64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc64-binutils.spec
===================================================================
--- cross-ppc64-binutils.spec (revision 241)
+++ cross-ppc64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-ppc64le-binutils.changes
===================================================================
--- cross-ppc64le-binutils.changes (revision 241)
+++ cross-ppc64le-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-ppc64le-binutils.spec
===================================================================
--- cross-ppc64le-binutils.spec (revision 241)
+++ cross-ppc64le-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-riscv64-binutils.changes
===================================================================
--- cross-riscv64-binutils.changes (revision 241)
+++ cross-riscv64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-riscv64-binutils.spec
===================================================================
--- cross-riscv64-binutils.spec (revision 241)
+++ cross-riscv64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-rx-binutils.changes
===================================================================
--- cross-rx-binutils.changes (revision 241)
+++ cross-rx-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-rx-binutils.spec
===================================================================
--- cross-rx-binutils.spec (revision 241)
+++ cross-rx-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-s390-binutils.changes
===================================================================
--- cross-s390-binutils.changes (revision 241)
+++ cross-s390-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-s390-binutils.spec
===================================================================
--- cross-s390-binutils.spec (revision 241)
+++ cross-s390-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-s390x-binutils.changes
===================================================================
--- cross-s390x-binutils.changes (revision 241)
+++ cross-s390x-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-s390x-binutils.spec
===================================================================
--- cross-s390x-binutils.spec (revision 241)
+++ cross-s390x-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-sparc-binutils.changes
===================================================================
--- cross-sparc-binutils.changes (revision 241)
+++ cross-sparc-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-sparc-binutils.spec
===================================================================
--- cross-sparc-binutils.spec (revision 241)
+++ cross-sparc-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-sparc64-binutils.changes
===================================================================
--- cross-sparc64-binutils.changes (revision 241)
+++ cross-sparc64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-sparc64-binutils.spec
===================================================================
--- cross-sparc64-binutils.spec (revision 241)
+++ cross-sparc64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-spu-binutils.changes
===================================================================
--- cross-spu-binutils.changes (revision 241)
+++ cross-spu-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-spu-binutils.spec
===================================================================
--- cross-spu-binutils.spec (revision 241)
+++ cross-spu-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir
Index: cross-x86_64-binutils.changes
===================================================================
--- cross-x86_64-binutils.changes (revision 241)
+++ cross-x86_64-binutils.changes (revision 2)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jul 11 03:50:40 UTC 2017 - bwiedemann@suse.com
+
+- Use --enable-deterministic-archives again now that rh#1124342
+ and make bug rh#1136481 have been fixed
+
+-------------------------------------------------------------------
Wed Apr 5 11:55:17 UTC 2017 - afaerber@suse.de

- Add riscv64 target, tested with gcc7 and downstream newlib 2.4.0
Index: cross-x86_64-binutils.spec
===================================================================
--- cross-x86_64-binutils.spec (revision 241)
+++ cross-x86_64-binutils.spec (revision 2)
@@ -229,19 +229,13 @@
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
-# Normally we'd like to add --enable-deterministic-archives
-# here (which by default makes uid/mtime be zero for archive
-# members), to increase chances of getting a reproducable build
-# But this breaks Makefile rules when directly accessing archives:
-# rebuilding the same archive from unchanged .o files recreates
-# it, because timestamps in the .a are 0, unequal to the actual timestamp
-# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
+ --enable-deterministic-archives \\\
--with-pic --with-system-zlib --build=%{HOST}
mkdir build-dir
cd build-dir


Bernhard Wiedemann's avatar

bmwiedemann superseded request

superseded by 514997

openSUSE Build Service is sponsored by