diff --git a/binutils.changes b/binutils.changes index 7753331..6cd3e3c 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/binutils.spec b/binutils.spec index 8e6af48..24e7dd1 100644 --- a/binutils.spec +++ b/binutils.spec @@ -214,13 +214,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 23acf6a..4a8f0c0 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 7682c77..268d81e 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 80c4005..3abf3b8 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 5f086db..e04458e 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 0c4110c..2412bc7 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index d3298a0..ec07b3b 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 6d73467..75d88dd 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 74bb9ca..0a6319d 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 1e6d309..525e8dc 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index bfcdf3b..e32e4be 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 5e2c9fd..0fe577c 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 21685a5..b2f824c 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index cb99638..89393ac 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index a10308f..cf8b714 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 6fa64c8..6a98bf2 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 1614e2c..f63e39b 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 16830f3..8f6fad4 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \ diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 7753331..6cd3e3c 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + ------------------------------------------------------------------- Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 6008e30..54dc1d6 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" 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 \\\ - --with-pic --build=%{HOST} --enable-deterministic-archives + --with-pic --build=%{HOST} mkdir build-dir cd build-dir ../configure %common_flags \