From nobody Fri Jan 05 21:04:55 2024 X-Original-To: dev-commits-ports-main@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 4T6GDm26dQz55wjR; Fri, 5 Jan 2024 21:04:56 +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 4T6GDl6tdHz4HNp; Fri, 5 Jan 2024 21:04:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704488696; 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=V4tj8ndPckCGFu6e8W9f8oJ5urIzCfFjEISbrgOlLtw=; b=oe+4f36weSWeu91eGvSaAV68K9GxckHR0r3gERZ9cbLhSuIWZxzV8paxS+HNvCiv0+niai M4sRChga2jmHAZoaUI0aPUlvCQD3ecrfF1DmT2MrS+I9/1ckblvWKk36mjvGSyoo9n83hf B8BdhhSL+O3UnbNADm0YRxso/eo9AbWBAKt+rIvFwHUJJV/Z6l0ls14NasWClps/B/an9D YVBq9s6LTNmYRORleMR0lUXWpiGKFPm6mO/KlX4IzyLfQ458TYsIB6BSz4EvZ/L6qb4uNa XFJz9IcjKIi77xJdOmztRI2jRgjIf+knYWvnwykpdUEjZB6pUkzhEpqs16U2aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704488696; 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=V4tj8ndPckCGFu6e8W9f8oJ5urIzCfFjEISbrgOlLtw=; b=STFRhE0vs858ukLWpyGkBKCdB+Ika3CyPNNKY00tNRkmJ8HIG9nZppcJwkcH0CStN0rb22 6veRG+vuCZsbG+s2BXyS4DDvw+KHwPvOkHulwzYIW9oPaOnn6wIko4UtiVFLV19fEvSKmN Xg7DTv+99SY9BnqLg0cwBMYNr2NaAGkkJQcBSXqbstaFmtZjJMfH2mOQj7z9I1lNS2cpAK o9K2g2p9vrSKrJ1zlykVj7RfOjb+qqcYn5Qr4jj6KDX2wG4g/IbGhUjbQVBtL/R0CRHHJW exE0cvtFmVw2OW1daIlWPPsX7eTTnp3+K4uTv0qS575dXq/NVQw17UX5kAf40w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704488696; a=rsa-sha256; cv=none; b=SYenDoT2H9j8kmX6teqv+td1rArIIgLArDyeWHOFHwfewqSm6YPS0MRsY3XB7/BeJ8HsE0 MUhls3KGD3PIep1glNSvkH+F3wFxgqH6+7cMAgxDWom/FTFJ31TZOFdq4SjpC+uCPvAS68 IZuuSL1TJ9M62b5jpvkomaf7R74vT+aXVkvqQEE3o1rUgiIJ7dmEDRRLjzV1WYfCq5sTHf slSIOCcqjx5hwIUqFRLZeHyU2jGYqVuczkk3g/g4edqC7aQ0HEuVc1EFNYzvKSAm/IjlIm nzlaC7DrVllY4xn5D0YWd1cYvk5w7xbstByU0ns3QoMWs9pbWZclLv6S6O7Y2g== 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 4T6GDl5m06z1CmW; Fri, 5 Jan 2024 21:04:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 405L4t4V012631; Fri, 5 Jan 2024 21:04:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 405L4t6i012628; Fri, 5 Jan 2024 21:04:55 GMT (envelope-from git) Date: Fri, 5 Jan 2024 21:04:55 GMT Message-Id: <202401052104.405L4t6i012628@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: 56fe1f80d88c - main - lang/gcc13-devel: switch to using clang, as with other stable GCC branches and remove ELFv1 support List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 56fe1f80d88cc00855d5a1969287032f6c854054 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=56fe1f80d88cc00855d5a1969287032f6c854054 commit 56fe1f80d88cc00855d5a1969287032f6c854054 Author: Piotr Kubaj AuthorDate: 2024-01-05 17:57:59 +0000 Commit: Piotr Kubaj CommitDate: 2024-01-05 21:03:54 +0000 lang/gcc13-devel: switch to using clang, as with other stable GCC branches and remove ELFv1 support --- lang/gcc13-devel/Makefile | 6 +----- lang/gcc13-devel/files/patch-clang-vec_step | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/lang/gcc13-devel/Makefile b/lang/gcc13-devel/Makefile index 0f07c7e9e8af..96dacda6509b 100644 --- a/lang/gcc13-devel/Makefile +++ b/lang/gcc13-devel/Makefile @@ -76,12 +76,8 @@ CXXFLAGS:= ${CFLAGS:S/mcpu=g/mcpu=G/} .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} -.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +.elif ${ARCH} == powerpc64 CONFIGURE_ARGS+= --with-abi=elfv2 -USE_GCC= yes - -.elif ${ARCH} == powerpc64le -USE_GCC= yes .endif LANGUAGES:= c,c++,objc,fortran,jit diff --git a/lang/gcc13-devel/files/patch-clang-vec_step b/lang/gcc13-devel/files/patch-clang-vec_step new file mode 100644 index 000000000000..00607540eb2a --- /dev/null +++ b/lang/gcc13-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.