[gcc-6] 61/401: - prepare for 6-20160122-1

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit 7a04f4eafdfc5932fdaf35abc88b282be872d66e
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Sun Jan 24 08:26:27 2016 +0000

     - prepare for 6-20160122-1
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8624 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                            |  6 +-
 debian/patches/gdc-libphobos-no-werror.diff | 13 +++++
 debian/patches/pr69129.diff                 | 85 -----------------------------
 debian/rules.patch                          |  5 +-
 debian/rules.unpack                         |  1 -
 5 files changed, 19 insertions(+), 91 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 778545a..fa85462 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-gcc-6 (6-20160120-1) experimental; urgency=medium
+gcc-6 (6-20160122-1) experimental; urgency=medium
 
-  * Fix gnat build failure on KFreeBSD (Steven Chamberlain). Closes: #811063.
+  * Fix gnat build failure on KFreeBSD (Steven Chamberlain). Closes: #811372.
   * Fix dependencies on target libraries which are not built anymore
     from this source.
   * Bump libmpx soname. Closes: #812084.
@@ -9,7 +9,7 @@ gcc-6 (6-20160120-1) experimental; urgency=medium
     "#cgo pkg-config:" directives (Michael Hudson).
   * Configure with --enable-fix-cortex-a53-843419 on AArch64.
 
- -- Matthias Klose <doko at debian.org>  Mon, 18 Jan 2016 13:35:20 +0100
+ -- Matthias Klose <doko at debian.org>  Fri, 22 Jan 2016 13:33:19 +0100
 
 gcc-6 (6-20160117-1) experimental; urgency=medium
 
diff --git a/debian/patches/gdc-libphobos-no-werror.diff b/debian/patches/gdc-libphobos-no-werror.diff
new file mode 100644
index 0000000..3f30b86
--- /dev/null
+++ b/debian/patches/gdc-libphobos-no-werror.diff
@@ -0,0 +1,13 @@
+# DP: Don't build libphobos with -Werror.
+
+--- a/src/libphobos/configure.ac
++++ b/src/libphobos/configure.ac
+@@ -108,6 +108,8 @@
+ if test "x$enable_werror" != "xno"; then
+     WERROR="-Werror"
+ fi
++dnl FIXME: std/math.d:4239:17: error: memory input 0 is not directly addressable [-Werror]
++WERROR=
+ AC_SUBST(WERROR)
+ 
+ if test ${multilib} = yes; then
diff --git a/debian/patches/pr69129.diff b/debian/patches/pr69129.diff
deleted file mode 100644
index 1c0f9c0..0000000
--- a/debian/patches/pr69129.diff
+++ /dev/null
@@ -1,85 +0,0 @@
-# DP: Proposed patch for PR target/69129.
-
---- a/src/gcc/config/mips/mips.c
-+++ b/src/gcc/config/mips/mips.c
-@@ -10347,8 +10347,6 @@
-   memset (frame, 0, sizeof (*frame));
-   size = get_frame_size ();
- 
--  cfun->machine->global_pointer = mips_global_pointer ();
--
-   /* The first two blocks contain the outgoing argument area and the $gp save
-      slot.  This area isn't needed in leaf functions.  We can also skip it
-      if we know that none of the called functions will use this space.
-@@ -10375,6 +10373,26 @@
-       frame->args_size = crtl->outgoing_args_size;
-       frame->cprestore_size = MIPS_GP_SAVE_AREA_SIZE;
-     }
-+
-+  /* MIPS16 code offsets the frame pointer by the size of the outgoing
-+     arguments.  This tends to increase the chances of using unextended
-+     instructions for local variables and incoming arguments.  */
-+  if (TARGET_MIPS16)
-+    frame->hard_frame_pointer_offset = frame->args_size;
-+
-+  /* PR 69129: Beware of a possible race condition.  mips_global_pointer
-+     might call mips_cfun_has_inflexible_gp_ref_p which in turn can call
-+     mips_find_gp_ref which will iterate over the current insn sequence.
-+     If any of these insns use the cprestore_save_slot_operand or
-+     cprestore_load_slot_operand predicates in order to be recognised then
-+     they will call mips_cprestore_address_p which calls
-+     mips_get_cprestore_base_and_offset which expects the frame information
-+     to be filled in...  In fact mips_get_cprestore_base_and_offset only
-+     needs the args_size and hard_frame_pointer_offset fields to be filled
-+     in, which is why the global_pointer field is initialised here and not
-+     earlier.  */
-+  cfun->machine->global_pointer = mips_global_pointer ();
-+
-   offset = frame->args_size + frame->cprestore_size;
- 
-   /* Move above the local variables.  */
-@@ -10520,12 +10538,6 @@
-     frame->acc_save_offset = frame->acc_sp_offset - offset;
-   if (frame->num_cop0_regs > 0)
-     frame->cop0_save_offset = frame->cop0_sp_offset - offset;
--
--  /* MIPS16 code offsets the frame pointer by the size of the outgoing
--     arguments.  This tends to increase the chances of using unextended
--     instructions for local variables and incoming arguments.  */
--  if (TARGET_MIPS16)
--    frame->hard_frame_pointer_offset = frame->args_size;
- }
- 
- /* Return the style of GP load sequence that is being used for the
---- /dev/null
-+++ b/src/gcc/testsuite/gcc.target/mips/pr69129.c
-@@ -0,0 +1,29 @@
-+_Noreturn void fn1 (int) __attribute__((__visibility__("hidden")));
-+
-+void
-+fn2 (void *p1)
-+{
-+  int a[7];
-+  float *b;
-+  int c, n;
-+
-+  if (c != p1) /* { dg-warning "comparison between pointer and integer" } */
-+    fn1 (1);
-+
-+  n = 0;
-+  for (; c; n++)
-+    {
-+      int d;
-+      if (a[n] != d)
-+	fn1(n);
-+    }
-+
-+  b = p1;
-+
-+  while (1)
-+    {
-+      *b = 3.40282347e38f;
-+      if (a[0])
-+	return;
-+    }
-+}
diff --git a/debian/rules.patch b/debian/rules.patch
index aa5a5c4..4ba7dd7 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -81,8 +81,9 @@ debian_patches += \
 	pr67590 \
 	ada-gnattools-ldflags \
 	libjit-ldflags \
-	pr69129 \
-	pr66904 \
+	gdc-libphobos-no-werror \
+
+#	pr66904 \
 
 # this is still needed on powerpc, e.g. firefox and insighttoolkit4 will ftbfs.
 ifneq (,$(filter $(DEB_TARGET_ARCH),powerpc))
diff --git a/debian/rules.unpack b/debian/rules.unpack
index ec239c5..cc496c4 100644
--- a/debian/rules.unpack
+++ b/debian/rules.unpack
@@ -81,7 +81,6 @@ gfdl_texinfo_files = \
 	gcc/fortran/gfc-internals.texi \
 	gcc/fortran/invoke.texi \
 	gcc/fortran/intrinsic.texi \
-	gcc/ada/projects.texi \
 
 
 gfdl_toplevel_texinfo_files = \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list