From nobody Fri May 13 12:54:51 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1DE351AC7156; Fri, 13 May 2022 12:54:52 +0000 (UTC) (envelope-from git@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 4L07s80Gv6z4v59; Fri, 13 May 2022 12:54:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652446492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5EQH/8Dzi2InMp8qS7DKizjNtBHlc5SbVHLnIcebYpk=; b=yZMbWZ12fL++3aSE6T17O9WmWGdfAwJdwn7zu7VKapXFPZ2VU860V2JAFines791lZSitX 2GNPLFlJnGvtEBdqFXvzspR8flOgUde9/ysE6VY4dJk6UmgV+xOyFvkPTDqsJYV55X9hrV QI69R8qFXDP4Y6Djwh/XKjL3itruM2usEQmr4UAGDqzMy0JGy2ZtxmVwl+QXUfg+wSKrrr Ns0/6iHuLWYYhlY7Nojzh5ixjhS+Y5/o9+lIzlSfVO1LcC/0+HuCh6eK4vu1xyspsL1j+4 BCKDHmt2znlPSovbVnwr0/8GHixxMWmn82N//gvLwBc6FrwfBGpXG5D/xrcyvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D9DE522D42; Fri, 13 May 2022 12:54:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DCsprj064958; Fri, 13 May 2022 12:54:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DCspia064957; Fri, 13 May 2022 12:54:51 GMT (envelope-from git) Date: Fri, 13 May 2022 12:54:51 GMT Message-Id: <202205131254.24DCspia064957@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: e8b64f2ebfb8 - main - devel/aarch64-none-elf-gcc: fix build on powerpc64* List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8b64f2ebfb860fa2aeeb806daf06a441f8fed24 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652446492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5EQH/8Dzi2InMp8qS7DKizjNtBHlc5SbVHLnIcebYpk=; b=NhXSlknCJNhy7UEiIJBwb3vP4V4ko+cCF6SytOrokuBarbRUrtau2Ye0KSbE8aSlKSUqPm cLnfoijKhBPn3Q4Md5FK9xkFaIlDXXKxnvxp43q/f7iZ/ko9UPaDmO+fHK826FjMoLL3al Ea3k/NjvhWPc/U/5tXj7aSiyhF8nIB1JiUzuxrTpO28PZ9Qo0xVqTAKOlIPGa2FWe0Dem6 5858fHVNa4LmNmUv2z6l4AnrXk60TkNXsP2/0yXOs/260cDFVPa3L6CfrDihV5/pAUWBhk +RF1ndWYVt0r+pIV1ZqgvvArwtXXJdm/Oe7RV6TWd8gkiREecPleyvYToStmUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652446492; a=rsa-sha256; cv=none; b=AdYzod92csvHAZ4hz0F+D2eOeQdMIY5NOs65QFEvTg4BWszfu0bWod0884/2P+d9Rc6oij xC06Yi+EFj1WTnCgCQfGON7Jtw3pa0+27sgtHrZ1Wk79Z8RnIGsW4IHio8cKEY5g1NlUt4 0WY2cdT0PJFCz6kmBXaRjbs5oPF7rB0VdELseer8m8xFOo2h0BpOHRxPxxoglDZSmjjg2+ cLGpfKDM+IkSgdVHjZI9whyhhkMjPg26HCIv6BWJTiUs2ysjvNwie0Et0oD+2KQes326TK S5LvC9KGI42MKeqRSIFPbRPEz/Sga4b8HyXWS+3SNgutoYtTW05QqvLwaXeZJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8b64f2ebfb860fa2aeeb806daf06a441f8fed24 commit e8b64f2ebfb860fa2aeeb806daf06a441f8fed24 Author: Piotr Kubaj AuthorDate: 2022-05-13 12:41:54 +0000 Commit: Piotr Kubaj CommitDate: 2022-05-13 12:41:54 +0000 devel/aarch64-none-elf-gcc: fix build on powerpc64* Add the patch used in other GCC ports to fix build. --- .../aarch64-none-elf-gcc/files/patch-clang-vec_step | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/devel/aarch64-none-elf-gcc/files/patch-clang-vec_step b/devel/aarch64-none-elf-gcc/files/patch-clang-vec_step new file mode 100644 index 000000000000..68fbeedad582 --- /dev/null +++ b/devel/aarch64-none-elf-gcc/files/patch-clang-vec_step @@ -0,0 +1,21 @@ +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how +clang unfortunately poisons user namespace by default (without any +special options). + +Until that changes (or GCC changes) we need to avoid using vec_step +as a variable. + +--- UTC +Index: gcc/tree-vect-loop.c +=================================================================== +--- gcc/tree-vect-loop.c (revision 273856) ++++ gcc/tree-vect-loop.c (working copy) +@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see + #include "vec-perm-indices.h" + #include "tree-eh.h" + ++#define vec_step vec_step_ ++ + /* Loop Vectorization Pass. + + This pass tries to vectorize loops.