[gcc-6] 162/401: * Add build support for tilegx (Helmut Grohne). Closes: #827578.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:48 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 dbb9b9ba8828d82e742a1ffa1ed61b75fbc527cf
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Mon Jun 20 12:05:27 2016 +0000

      * Add build support for tilegx (Helmut Grohne). Closes: #827578.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8888 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                  |  1 +
 debian/patches/gcc-multiarch.diff | 11 +++++++++++
 debian/rules.d/binary-libgcc.mk   |  4 ++++
 debian/rules2                     |  4 ++++
 4 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 65e2b56..0cc8b1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ gcc-6 (6.1.1-7) UNRELEASED; urgency=medium
       PR c++/70572, PR c++/71516, PR c/71381.
   * Fix libgnatprj build to avoid undefined symbols (YunQiang Su).
     Closes: #826503.
+  * Add build support for tilegx (Helmut Grohne). Closes: #827578.
 
  -- Matthias Klose <doko at debian.org>  Mon, 20 Jun 2016 13:41:44 +0200
 
diff --git a/debian/patches/gcc-multiarch.diff b/debian/patches/gcc-multiarch.diff
index 7e34ff6..6802a73 100644
--- a/debian/patches/gcc-multiarch.diff
+++ b/debian/patches/gcc-multiarch.diff
@@ -169,3 +169,14 @@ Index: b/src/gcc/config/mips/mips.h
  /* Load store bonding is not supported by micromips and fix_24k.  The
     performance can be degraded for those targets.  Hence, do not bond for
     micromips or fix_24k.  */
+--- a/src/gcc/config/tilegx/t-tilegx
++++ a/src/gcc/config/tilegx/t-tilegx
+@@ -1,6 +1,7 @@
+ MULTILIB_OPTIONS = m64/m32
+ MULTILIB_DIRNAMES = 64 32
+-MULTILIB_OSDIRNAMES = ../lib ../lib32
++MULTILIB_OSDIRNAMES = ../lib$(call if_multiarch,:tilegx-linux-gnu) ../lib32$(call if_multiarch,:tilegx32-linux-gnu)
++MULTIARCH_DIRNAME = $(call if_multiarch,tilegx-linux-gnu)
+
+ LIBGCC = stmp-multilib
+ INSTALL_LIBGCC = install-multilib
diff --git a/debian/rules.d/binary-libgcc.mk b/debian/rules.d/binary-libgcc.mk
index ce9a2bd..ca25058 100644
--- a/debian/rules.d/binary-libgcc.mk
+++ b/debian/rules.d/binary-libgcc.mk
@@ -96,6 +96,10 @@ ifeq ($(DEB_TARGET_ARCH),$(findstring $(DEB_TARGET_ARCH),powerpc ppc64 ppc64el p
     header_files += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h,spe.h}
 endif
 
+ifeq ($(DEB_TARGET_ARCH),tilegx)
+    header_files += $(gcc_lib_dir)/include/feedback.h
+endif
+
 p_lgcc		= libgcc$(GCC_SONAME)$(cross_lib_arch)
 p_lgccdbg	= libgcc$(GCC_SONAME)-dbg$(cross_lib_arch)
 p_lgccdev	= libgcc-$(BASE_VERSION)-dev$(cross_lib_arch)
diff --git a/debian/rules2 b/debian/rules2
index abe987b..0f3eddc 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -559,6 +559,10 @@ ifneq (,$(findstring m68k-linux,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --disable-multilib
 endif
 
+ifneq (,$(filter tilegx,$(DEB_TARGET_GNU_CPU)))
+  CONFARGS += --disable-multilib
+endif
+
 ifeq ($(derivative),Ubuntu)
   ifneq (,$(findstring s390x-linux,$(DEB_TARGET_GNU_TYPE)))
     CONFARGS += --with-arch=zEC12

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