From owner-svn-ports-all@freebsd.org Fri Mar 5 14:01:57 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAA7D55B73F; Fri, 5 Mar 2021 14:01:57 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsTts53kgz4gjT; Fri, 5 Mar 2021 14:01:57 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A0D2111C1C; Fri, 5 Mar 2021 14:01:57 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 125E1vN5073334; Fri, 5 Mar 2021 14:01:57 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 125E1vZ2073332; Fri, 5 Mar 2021 14:01:57 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202103051401.125E1vZ2073332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 5 Mar 2021 14:01:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567388 - in head/devel/psptoolchain-gcc-stage1: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/devel/psptoolchain-gcc-stage1: . files X-SVN-Commit-Revision: 567388 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 14:01:57 -0000 Author: pkubaj Date: Fri Mar 5 14:01:56 2021 New Revision: 567388 URL: https://svnweb.freebsd.org/changeset/ports/567388 Log: devel/psptoolchain-gcc-stage1: fix build on powerpc64le Same issue as with other gcc ports. Added: head/devel/psptoolchain-gcc-stage1/files/patch-libcpp_lex.c - copied unchanged from r566819, head/lang/gcc10/files/patch-libcpp_lex.c Modified: head/devel/psptoolchain-gcc-stage1/Makefile Modified: head/devel/psptoolchain-gcc-stage1/Makefile ============================================================================== --- head/devel/psptoolchain-gcc-stage1/Makefile Fri Mar 5 13:28:54 2021 (r567387) +++ head/devel/psptoolchain-gcc-stage1/Makefile Fri Mar 5 14:01:56 2021 (r567388) @@ -14,7 +14,7 @@ COMMENT= PlayStation Portable development toolchain $ LICENSE= GPLv3 -ONLY_FOR_ARCHS= amd64 i386 powerpc64 +ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ Copied: head/devel/psptoolchain-gcc-stage1/files/patch-libcpp_lex.c (from r566819, head/lang/gcc10/files/patch-libcpp_lex.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/psptoolchain-gcc-stage1/files/patch-libcpp_lex.c Fri Mar 5 14:01:56 2021 (r567388, copy of r566819, head/lang/gcc10/files/patch-libcpp_lex.c) @@ -0,0 +1,25 @@ +This is + + commit cd547f0ddcd3a54e5b73bcda5ac0f0c46808db8b + Author: Jakub Jelinek + 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 *