slyfox      18/04/14 12:28:33

  Modified:             README.history
  Added:                92_all_sh-drop-sysroot-suffix.patch
  Log:
  gcc/7.3.0: gcc/config.gcc: sh-*: Disable sysroot-suffix (PR42947)
  
  sh-* is a multilib target. It is also one of 2 sysroot-prefix targets.
  Unfortunately two options do not mix well. Attempt to use default
  multilib flavour always prepends sysroot-prefix.
  
  Bug: https://bugs.gentoo.org/511548
  Bug: https://gcc.gnu.org/PR42947

Revision  Changes    Path
1.3                  src/patchsets/gcc/7.3.0/gentoo/README.history

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history?r1=1.2&r2=1.3

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/7.3.0/gentoo/README.history,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.history      11 Mar 2018 10:00:35 -0000      1.2
+++ README.history      14 Apr 2018 12:28:33 -0000      1.3
@@ -1,3 +1,5 @@
+1.2            14 Apr 2018
+       + 92_all_sh-drop-sysroot-suffix.patch
 1.1            11 Feb 2018
        + 91_all_bmi-i386-PR-target-81763.patch
 1.0            25 Jan 2018



1.1                  
src/patchsets/gcc/7.3.0/gentoo/92_all_sh-drop-sysroot-suffix.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/92_all_sh-drop-sysroot-suffix.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/7.3.0/gentoo/92_all_sh-drop-sysroot-suffix.patch?rev=1.1&content-type=text/plain

Index: 92_all_sh-drop-sysroot-suffix.patch
===================================================================
>From 5eeeff19bb4978a8d3c0d53bc81744bc25d82993 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <sly...@gentoo.org>
Date: Sat, 14 Apr 2018 13:07:39 +0100
Subject: [PATCH] gcc/config.gcc: sh-*: Disable sysroot-suffix (PR42947)

sh-* is a multilib target. It is also one of 2 sysroot-prefix targets.
Unfortunately two options do not mix well. Attempt to use default
multilib flavour always prepends sysroot-prefix.

Bug: https://bugs.gentoo.org/511548
Bug: https://gcc.gnu.org/PR42947
Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
---
 gcc/config.gcc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 55c314afdbd..c320f24f123 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2866,8 +2866,6 @@ sh-*-elf* | sh[12346l]*-*-elf* | \
        if test x${enable_incomplete_targets} = xyes ; then
                tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 
SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1"
        fi
-       tm_file="$tm_file ./sysroot-suffix.h"
-       tmake_file="$tmake_file t-sysroot-suffix"
        ;;
 sh-*-rtems*)
        tmake_file="${tmake_file} sh/t-sh sh/t-rtems"
-- 
2.17.0





Reply via email to