[gcc-7] 169/354: * Fix gdc build on sparc.

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:50:47 UTC 2017


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

infinity0 pushed a commit to branch master
in repository gcc-7.

commit b027af8083d34c6935f0702a806ee0fabf0d97df
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Wed May 3 11:13:58 2017 +0000

      * Fix gdc build on sparc.
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9427 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                  |  8 +++++++-
 debian/patches/gdc-sparc-fix.diff | 12 ++++++++++++
 debian/rules.patch                |  1 +
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f5abf37..3e84d7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,12 @@
-gcc-7 (7.1.0-2) experimental; urgency=medium
+gcc-7 (7.1.0-3) UNRELEASED; urgency=medium
 
   * Update to SVN 20170503 (r247542) from the gcc-7-branch.
+  * Fix gdc build on sparc.
+
+ -- Matthias Klose <doko at debian.org>  Wed, 03 May 2017 13:13:20 +0200
+
+gcc-7 (7.1.0-2) experimental; urgency=medium
+
   * Update the disable-gdc-tests patch for GCC 7.1.
 
  -- Matthias Klose <doko at debian.org>  Tue, 02 May 2017 18:35:14 +0200
diff --git a/debian/patches/gdc-sparc-fix.diff b/debian/patches/gdc-sparc-fix.diff
new file mode 100644
index 0000000..026388e
--- /dev/null
+++ b/debian/patches/gdc-sparc-fix.diff
@@ -0,0 +1,12 @@
+# DP: Fix gdc build on sparc.
+
+--- a/src/gcc/d/d-target.cc
++++ b/src/gcc/d/d-target.cc
+@@ -18,6 +18,7 @@
+ #include "config.h"
+ #include "system.h"
+ #include "coretypes.h"
++#include "memmodel.h"
+ 
+ #include "dfrontend/aggregate.h"
+ #include "dfrontend/module.h"
diff --git a/debian/rules.patch b/debian/rules.patch
index 6c1a40f..9ac66f8 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -159,6 +159,7 @@ ifeq ($(with_d),yes)
 	gdc-versym-os \
 	gdc-frontend-posix \
 	gdc-profiledbuild \
+	gdc-sparc-fix \
 #	gdc-multiarch
   ifneq ($(GFDL_INVARIANT_FREE),yes)
     debian_patches += gdc-7-doc

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



More information about the Reproducible-commits mailing list