Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2021 21:46:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568046 - head/devel/freebsd-gcc9/files
Message-ID:  <202103102146.12ALkh8O078121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Mar 10 21:46:42 2021
New Revision: 568046
URL: https://svnweb.freebsd.org/changeset/ports/568046

Log:
  devel/freebsd-gcc9: fix build on powerpc64le
  
  Same error as other GCC ports.

Added:
  head/devel/freebsd-gcc9/files/patch-libcpp_lex.c
     - copied unchanged from r561088, head/lang/gcc10/files/patch-libcpp_lex.c

Copied: head/devel/freebsd-gcc9/files/patch-libcpp_lex.c (from r561088, head/lang/gcc10/files/patch-libcpp_lex.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/freebsd-gcc9/files/patch-libcpp_lex.c	Wed Mar 10 21:46:42 2021	(r568046, copy of r561088, head/lang/gcc10/files/patch-libcpp_lex.c)
@@ -0,0 +1,25 @@
+This is
+
+  commit cd547f0ddcd3a54e5b73bcda5ac0f0c46808db8b
+  Author: Jakub Jelinek <jakub@redhat.com>
+  Date:   Sat Sep 26 10:07:41 2020 +0200
+
+which is on the GCC 10 release branch and thus part of lang/gcc10-devel;
+we should automatically get it with GCC 10.3.
+
+--- libcpp/lex.c.orig	2020-11-02 10:24:50 UTC
++++ libcpp/lex.c
+@@ -531,11 +531,11 @@ init_vectorized_lexer (void)
+   search_line_fast = impl;
+ }
+ 
+-#elif defined(_ARCH_PWR8) && defined(__ALTIVEC__)
++#elif (GCC_VERSION >= 4005) && defined(_ARCH_PWR8) && defined(__ALTIVEC__)
+ 
+ /* A vection of the fast scanner using AltiVec vectorized byte compares
+    and VSX unaligned loads (when VSX is available).  This is otherwise
+-   the same as the pre-GCC 5 version.  */
++   the same as the AltiVec version.  */
+ 
+ ATTRIBUTE_NO_SANITIZE_UNDEFINED
+ static const uchar *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103102146.12ALkh8O078121>