From nobody Sun May 01 09:37:58 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 6AA75199EC4C; Sun, 1 May 2022 09:37:58 +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 4Krh3V2YMMz3DRj; Sun, 1 May 2022 09:37:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651397878; 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=nvkAf7sp2tfBIJ/egttL8Xb+bFqTXorZKXf9kWa7scU=; b=sZoZ4y+fJNQeQLJEVucDYJdnRwUngBWDgmohOciErcbuHi7y5Y/Ycl/mRQTgv/nzMCqoOJ TQGBByDcyI++CF3xFy3B8MkZ0QYfEPlfN+QzXtPO/1Ufu1TptVm1SJpLKe/YBYPaBFEN87 r8c+whbWnyi9MyVaPsYIyY7h6zkO8/EePH3XSPDK3nB3rU11EHUpzPqYm+T910BruRhm0Y cnvasvZeVHx9JwFobjT88zQqWJvBOtrt9t7Vu4BU6sbWfITNJlVE41EoEFAROo3J30agNZ ddi3w5zXOa5CO+/ENOtIZJAVrU3ozka3JazV5tdTK4bo0EakCmaRi4uCFmxG6Q== 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 3380F1380D; Sun, 1 May 2022 09:37:58 +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 2419bwL5028102; Sun, 1 May 2022 09:37:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2419bwTl028101; Sun, 1 May 2022 09:37:58 GMT (envelope-from git) Date: Sun, 1 May 2022 09:37:58 GMT Message-Id: <202205010937.2419bwTl028101@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: f7c20e47c633 - main - lang/gcc12-devel: upgrade to snapshot 20220430 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: f7c20e47c633577989101611a7ba70506c283ab4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651397878; 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=nvkAf7sp2tfBIJ/egttL8Xb+bFqTXorZKXf9kWa7scU=; b=GcVe84EuRgM2VxNDfiovl1IwxaIRlpbclC0rF44ZxxPRPUOiBb8OQnMZNH7C3hL3CjYA2T pJvM/68Jsz6Pa3srXautAHnuIPDU81yyhIoijm/2jgGzVYpDJyWnyNkKPlFJkROySVfBtQ sPeqzp+CR6aUtMXENNfSvitWNJYNOwe1X1MhZ3O9Stc3O+pTjWC/DayYS3vOcoT0ijj9jh EeygR40ddUt1T/5tBd/so6gYkBWOwLQGQi3twPADqNqfJAW2TAc+ycdnszrjIURv6CUUmG kOEVBM/jNNqgK4e7kn8McaV2n5piJgSL3CKPpInzBbNSTHsKNj11nez+d5ugaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651397878; a=rsa-sha256; cv=none; b=draUy4cjC32pvqTtZm2uzIhoHvUYQ/5O6pz318FiDHhx0P6FP48C6y8B15qGZrDpVx3ULg +T/Nxi/oftfz5oVe+wSSGF3TMWbWMbS/u7TOXUnngC9iljYolpG27766gAF+iTBYDfDna9 mVz3XdQkR3OL8wM9rvkmON3aynfyM8N/n8nCtPqR8Q5scb0lAqi1CiFpQZD90HGobusHdv 2DP634W+yX8xoiPG9BUjWS7GdC4O1ZuiXbxdYOpJN8/gzCD6paSKhGAXSln9Hik/qJIIo0 XUC5DBQFuW4O4Gi+sziweJ0JnJudyfWz8JVl9AeozX1hJXRV3YoS5neNEyMSjQ== 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=f7c20e47c633577989101611a7ba70506c283ab4 commit f7c20e47c633577989101611a7ba70506c283ab4 Author: Piotr Kubaj AuthorDate: 2022-05-01 09:36:22 +0000 Commit: Piotr Kubaj CommitDate: 2022-05-01 09:37:53 +0000 lang/gcc12-devel: upgrade to snapshot 20220430 Since this is now the new stable branch, copy patch-clang-vec_step from other GCC ports and switch to using clang on powerpc64*. --- lang/gcc12-devel/Makefile | 11 ++--------- lang/gcc12-devel/distinfo | 6 +++--- lang/gcc12-devel/files/patch-clang-vec_step | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index f814e2948aee..a3a9500e484e 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -1,8 +1,7 @@ # Created by: Gerald Pfeifer PORTNAME= gcc -PORTVERSION= 12.0.1.s20220306 -PORTREVISION= 2 +PORTVERSION= 12.0.1.s20220430 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -71,15 +70,9 @@ CONFIGURE_ARGS+= --disable-multilib .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} -.elif ${ARCH} == powerpc64 -CONFIGURE_ENV+= UNAME_m="powerpc64" -. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2 CONFIGURE_ARGS+= --with-abi=elfv2 -. endif -USE_GCC= yes -.elif ${ARCH} == powerpc64le -USE_GCC= yes .endif LANGUAGES:= c,c++,objc,fortran,jit diff --git a/lang/gcc12-devel/distinfo b/lang/gcc12-devel/distinfo index f0004511149a..f3056bdbd8b5 100644 --- a/lang/gcc12-devel/distinfo +++ b/lang/gcc12-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646986300 -SHA256 (gcc-12-20220306.tar.xz) = 3a48aa25eedef45b2edd809b910d288046cbd65a048ea31b9fb85793029b234b -SIZE (gcc-12-20220306.tar.xz) = 78811636 +TIMESTAMP = 1651388552 +SHA256 (gcc-12-20220430.tar.xz) = 9255efd2b556e229f589f920e08a678d4be537ba088efff5b8809e9715a68911 +SIZE (gcc-12-20220430.tar.xz) = 79067316 diff --git a/lang/gcc12-devel/files/patch-clang-vec_step b/lang/gcc12-devel/files/patch-clang-vec_step new file mode 100644 index 000000000000..00607540eb2a --- /dev/null +++ b/lang/gcc12-devel/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.cc +=================================================================== +--- gcc/tree-vect-loop.cc (revision 273856) ++++ gcc/tree-vect-loop.cc (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.