slyfox      18/05/04 23:03:10

  Modified:             README.history
  Added:                93_all_arm-arch.patch
  Log:
  fix --with-arch= arm validation
  
  toolchain.eclass relies on it to pass
  (or not to pass0 correct --with-arch=.
  
  In this case broken target was arm-none-eabi
  
  Bug: https://gcc.gnu.org/PR85658

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

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

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.history      2 May 2018 22:52:30 -0000       1.2
+++ README.history      4 May 2018 23:03:10 -0000       1.3
@@ -1,3 +1,5 @@
+1.2            05 May 2018
+       + 93_all_arm-arch.patch
 1.1            03 May 2018
        U 13_all_default-ssp-fix.patch
        + 35_all_i386_libgcc_note.GNU-stack.patch



1.1                  src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch?rev=1.1&content-type=text/plain

Index: 93_all_arm-arch.patch
===================================================================
Fix -march= flag autodetection.

Bug: https://gcc.gnu.org/PR85658
diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk
index 56c762b3b..1135f735b 100644
--- a/gcc/config/arm/parsecpu.awk
+++ b/gcc/config/arm/parsecpu.awk
@@ -485,7 +485,7 @@ function check_fpu (name) {
 function check_arch (name) {
     exts = split (name, extensions, "+")
 
-    if (! extensions[1] in arch_isa) {
+    if (! (extensions[1] in arch_isa)) {
        return "error"
     }
 




Reply via email to