[gcc-6] 218/401: * Apply workaround for PR libstdc++/77686. Addresses: #838438.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:49:35 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 3842d971e319f24b6e64cedbf910ed5054486701
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Wed Sep 28 00:47:39 2016 +0000

      * Apply workaround for PR libstdc++/77686. Addresses: #838438.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8987 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                       |  1 +
 debian/patches/pr77686-workaround.diff | 13 +++++++++++++
 debian/rules.patch                     |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b4d0770..47d988b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ gcc-6 (6.2.0-5) UNRELEASED; urgency=medium
       PR tree-optimization/77621, PR target/77621 (x86), PR c++/71979.
   * Fix gij installation on hppa. Closes: #838111.
   * Fix PR rtl-optimization/71709, taken from the trunk. LP: #1628207.
+  * Apply workaround for PR libstdc++/77686. Addresses: #838438.
 
  -- Matthias Klose <doko at debian.org>  Tue, 27 Sep 2016 21:34:59 +0200
 
diff --git a/debian/patches/pr77686-workaround.diff b/debian/patches/pr77686-workaround.diff
new file mode 100644
index 0000000..00c6bb9
--- /dev/null
+++ b/debian/patches/pr77686-workaround.diff
@@ -0,0 +1,13 @@
+# DP: Apply workaround for PR libstdc++/77686
+
+--- a/src/libstdc++-v3/include/std/functional
++++ b/src/libstdc++-v3/include/std/functional
+@@ -1418,7 +1418,7 @@ _GLIBCXX_MEM_FN_TRAITS(&&, false_type, t
+ 
+     _Nocopy_types _M_unused;
+     char _M_pod_data[sizeof(_Nocopy_types)];
+-  };
++  } __attribute__((may_alias));
+ 
+   enum _Manager_operation
+   {
diff --git a/debian/rules.patch b/debian/rules.patch
index a1835a5..8511da1 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -94,6 +94,7 @@ debian_patches += \
 	libffi-pax \
 	libffi-race-condition \
 	pr71709 \
+	pr77686-workaround \
 
 # this is still needed on powerpc, e.g. firefox and insighttoolkit4 will ftbfs.
 ifneq (,$(filter $(DEB_TARGET_ARCH),powerpc))

-- 
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