From owner-dev-commits-ports-all@freebsd.org Sat Sep 18 06:12:21 2021 Return-Path: Delivered-To: dev-commits-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 D56B5672338; Sat, 18 Sep 2021 06:12:21 +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 4HBL855XC7z3Jvp; Sat, 18 Sep 2021 06:12:21 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9ED812489D; Sat, 18 Sep 2021 06:12:21 +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 18I6CLG3047513; Sat, 18 Sep 2021 06:12:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18I6CLO2047502; Sat, 18 Sep 2021 06:12:21 GMT (envelope-from git) Date: Sat, 18 Sep 2021 06:12:21 GMT Message-Id: <202109180612.18I6CLO2047502@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gerald Pfeifer Subject: git: 45943b854c98 - main - lang/gcc12-devel: Update to the 20210912 snapshot of GCC 12.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gerald X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45943b854c98a2300f9c35dcf9b88d889fd33709 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Sep 2021 06:12:21 -0000 The branch main has been updated by gerald: URL: https://cgit.FreeBSD.org/ports/commit/?id=45943b854c98a2300f9c35dcf9b88d889fd33709 commit 45943b854c98a2300f9c35dcf9b88d889fd33709 Author: Gerald Pfeifer AuthorDate: 2021-09-18 04:45:22 +0000 Commit: Gerald Pfeifer CommitDate: 2021-09-18 06:11:44 +0000 lang/gcc12-devel: Update to the 20210912 snapshot of GCC 12.0.0 Add files/patch-gcc-analyzer-bootstrap to fix bootstrap with clang. Add files/patch-libgfortran-bootstrap to fix bootstrap on i386 and FreeBSD's idiosyncratic floating point settings. Temporarily mark BROKEN on amd64 due to an internal error, but at least give aarch64, i386, and powerpc* the chance to test drive after we already had to skip another snapshot. --- lang/gcc12-devel/Makefile | 3 ++- lang/gcc12-devel/distinfo | 6 +++--- lang/gcc12-devel/files/patch-gcc-analyzer-bootstrap | 16 ++++++++++++++++ lang/gcc12-devel/files/patch-libgfortran-bootstrap | 11 +++++++++++ 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index ffe4b3f6c0af..5ca10e783c84 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -1,7 +1,7 @@ # Created by: Gerald Pfeifer PORTNAME= gcc -PORTVERSION= 12.0.0.s20210829 +PORTVERSION= 12.0.0.s20210912 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -13,6 +13,7 @@ COMMENT= GNU Compiler Collection 12 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi +BROKEN_amd64= internal compiler error (since addressed) ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libgmp.so:math/gmp \ diff --git a/lang/gcc12-devel/distinfo b/lang/gcc12-devel/distinfo index 45fdd618c282..72b0013244cd 100644 --- a/lang/gcc12-devel/distinfo +++ b/lang/gcc12-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630471544 -SHA256 (gcc-12-20210829.tar.xz) = 92f5c1bbd5743a4b5df95a9baef1984703f61cdd30e7c95289c466ca0b62a046 -SIZE (gcc-12-20210829.tar.xz) = 76732280 +TIMESTAMP = 1631917313 +SHA256 (gcc-12-20210912.tar.xz) = 895846b1fe9c641883e5846efaefb9deda41e043df7ec6c9e5ebc1314c686959 +SIZE (gcc-12-20210912.tar.xz) = 76874620 diff --git a/lang/gcc12-devel/files/patch-gcc-analyzer-bootstrap b/lang/gcc12-devel/files/patch-gcc-analyzer-bootstrap new file mode 100644 index 000000000000..07d71aeaf8e4 --- /dev/null +++ b/lang/gcc12-devel/files/patch-gcc-analyzer-bootstrap @@ -0,0 +1,16 @@ +commit 745781d24cd7562202687cfbe05597ee673d4537 +Author: Maxim Blinov +Date: Fri Sep 17 00:32:58 2021 +0200 + + analyzer: Fix bootstrap with clang + +--- gcc/analyzer/engine.cc ++++ gcc/analyzer/engine.cc +@@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see + . */ + + #include "config.h" ++#define INCLUDE_UNIQUE_PTR + #include "system.h" + #include "coretypes.h" + #include "tree.h" diff --git a/lang/gcc12-devel/files/patch-libgfortran-bootstrap b/lang/gcc12-devel/files/patch-libgfortran-bootstrap new file mode 100644 index 000000000000..d3221a1b1368 --- /dev/null +++ b/lang/gcc12-devel/files/patch-libgfortran-bootstrap @@ -0,0 +1,11 @@ +--- libgfortran/ISO_Fortran_binding.h.orig 2021-09-12 22:32:09.000000000 +0000 ++++ libgfortran/ISO_Fortran_binding.h 2021-09-18 04:42:43.658569000 +0000 +@@ -227,7 +227,7 @@ + #define CFI_type_long_double_Complex CFI_type_double_Complex + + /* This is the 80-bit encoding on x86; Fortran assigns it kind 10. */ +-#elif (LDBL_MANT_DIG == 64 \ ++#elif ((LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 53) \ + && LDBL_MIN_EXP == -16381 \ + && LDBL_MAX_EXP == 16384) + #define CFI_type_long_double (CFI_type_Real + (10 << CFI_type_kind_shift))