From nobody Tue May 02 09:42:06 2023 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 4Q9ZqM3CYtz48m2L; Tue, 2 May 2023 09:42:07 +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 4Q9ZqM2FMlz3L0B; Tue, 2 May 2023 09:42:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683020527; 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=PKQbEhAiBiANPoiTbJyP5Y+vse1uuzHASQBm0R4MvVc=; b=jbu99Eq26nIpT59hXurijXwdphWzhMUIyXRE3rI1XETwPaRJBV9MsmRzip+ctA4ryFCj+8 zAV5DvpOrvNgtbVKLu33Ju1sDxMu7m/6GyR5mVkNAAt/KvUDe5YAACfu7mjRhV4fWhu9wF 75PMuSrmqJ0bA5dmixHlV2TUsNhFBWmSV837aVPwIhRF3cJlaLWCxx0jQdmtbhI1iApDqI Ve6hqxJTJaca9YVTOi3a0amElich9+AcoT1C9rG2KnfcbHrvB6K5rQAwfMeszaiRUgw390 O3rJsRd8uc6y8oeCswSL62Vu6zFKHnATB8DZpjXwc38FQJxa93LLbjooHXoIiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683020527; 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=PKQbEhAiBiANPoiTbJyP5Y+vse1uuzHASQBm0R4MvVc=; b=A2oDcicV4UZsiJuTqk7zYdpe9MW2OewvyaLL/GifiSPJ2r4jz1Aq4WaEM1SiRKZV9lO0MY cfDzUkPEEQAb6yEOTziDzsdQjxxNBNBHOvKuSOw1zgspTl7SUbendyLrDHlGYw12xTkuov 6X/4dw8sAOROBp26ezaQEZObP3lbQlmSUTuihc8A4ayn523p4pMATcAGEh6us67w/67vd3 LmU7jHkTcq6VILRlG+c0k1nFirpdCGD1zd57NAG1kkJeIGYPVWS3cPxeSVacIpdSghrTer QwraikZKeAI4UCCfEEFaSs7szsay/humcm7IKwIgzr+JX+7gQe7gWfE75LRHNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683020527; a=rsa-sha256; cv=none; b=G035KMO/9C1OoNaq/K8EwxYpJ0J400TJvZof7f1JlbkirnY08yyOETUJGKumiKitiEA7Up Xncn26+quIr1cZlCCN+EOz3yiLsI708RPVHnl3tnULhmFIHnIoN+UFc9qII4YeaMSh35ok Je5a1tEWYT0PxhnES5KP5Ca84PDV8pugc7vwjw+Pq08+t6p+rMs1AWw0WEKbOO3/9LvvkZ 1KTCGrBRSz35oltA0wj7F89b+c97YtSjtKWgzxpX8BkuiLzrNq3CQSl1ScBe78bxWcQ+CH f0DFJfPaOt0I59MZB/XMzoxBff8UTWtB6JRody6ZzZ/RZ5tIYejzLjt5I3rdxQ== 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 4Q9ZqM0bBGzjwJ; Tue, 2 May 2023 09:42:07 +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 3429g6uS007389; Tue, 2 May 2023 09:42:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3429g6j1007388; Tue, 2 May 2023 09:42:06 GMT (envelope-from git) Date: Tue, 2 May 2023 09:42:06 GMT Message-Id: <202305020942.3429g6j1007388@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: f4e302c0416a - main - lang/gcc13: switch to using clang on powerpc64* 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: f4e302c0416a53ceec6c9605234b570f775167db Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4e302c0416a53ceec6c9605234b570f775167db commit f4e302c0416a53ceec6c9605234b570f775167db Author: Piotr Kubaj AuthorDate: 2023-05-02 09:39:47 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-02 09:39:47 +0000 lang/gcc13: switch to using clang on powerpc64* As with other released GCC versions (as opposed to snapshots), use base clang to build this port. --- lang/gcc13/Makefile | 5 +---- lang/gcc13/files/patch-clang-vec_step | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile index e3124b815daf..307fd5954450 100644 --- a/lang/gcc13/Makefile +++ b/lang/gcc13/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 13.1.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC PKGNAMESUFFIX= ${SUFFIX} @@ -67,10 +68,6 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2 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/files/patch-clang-vec_step b/lang/gcc13/files/patch-clang-vec_step new file mode 100644 index 000000000000..00607540eb2a --- /dev/null +++ b/lang/gcc13/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.