From nobody Sat Oct 16 14:49:52 2021 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 E473117F1298; Sat, 16 Oct 2021 14:49: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 4HWmJJ5zLQz4VcK; Sat, 16 Oct 2021 14:49:52 +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 AD66F1BAAA; Sat, 16 Oct 2021 14:49:52 +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 19GEnqSd070287; Sat, 16 Oct 2021 14:49:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19GEnqQ2070286; Sat, 16 Oct 2021 14:49:52 GMT (envelope-from git) Date: Sat, 16 Oct 2021 14:49:52 GMT Message-Id: <202110161449.19GEnqQ2070286@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: c79dab622bea - main - lang/gcc12-devel: Update to the 20211010 snapshot of GCC 12.0.0 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: gerald X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c79dab622beae6b77b2d48e7a76a13aadf0d7e50 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gerald: URL: https://cgit.FreeBSD.org/ports/commit/?id=c79dab622beae6b77b2d48e7a76a13aadf0d7e50 commit c79dab622beae6b77b2d48e7a76a13aadf0d7e50 Author: Gerald Pfeifer AuthorDate: 2021-10-16 14:43:04 +0000 Commit: Gerald Pfeifer CommitDate: 2021-10-16 14:49:33 +0000 lang/gcc12-devel: Update to the 20211010 snapshot of GCC 12.0.0 libsanitizer brought in improved support for FreeBSD, alas in conflict with one of GCC's headers file (md5.h); add a temporary hack via files/patch-libsanitzer-buildfix . --- lang/gcc12-devel/Makefile | 2 +- lang/gcc12-devel/distinfo | 6 +++--- lang/gcc12-devel/files/patch-libsanitzer-buildfix | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index 4340c3d4fd6c..d6652efe4023 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.s20211003 +PORTVERSION= 12.0.0.s20211010 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel diff --git a/lang/gcc12-devel/distinfo b/lang/gcc12-devel/distinfo index cff5f568d406..91fe8636db99 100644 --- a/lang/gcc12-devel/distinfo +++ b/lang/gcc12-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1633589712 -SHA256 (gcc-12-20211003.tar.xz) = b9744f87e18a8c66119cffa8bdda1e91f7241f5387981939ae415b0bf7d743ed -SIZE (gcc-12-20211003.tar.xz) = 77099384 +TIMESTAMP = 1634382602 +SHA256 (gcc-12-20211010.tar.xz) = 8020b83d443834a924f056d6758c3f6ab3327edd87e5d6bc1e2fe17ba931d9aa +SIZE (gcc-12-20211010.tar.xz) = 77142520 diff --git a/lang/gcc12-devel/files/patch-libsanitzer-buildfix b/lang/gcc12-devel/files/patch-libsanitzer-buildfix new file mode 100644 index 000000000000..9446200b6c73 --- /dev/null +++ b/lang/gcc12-devel/files/patch-libsanitzer-buildfix @@ -0,0 +1,20 @@ +This is a temporary hack to restore bootstrap. + +The latest libsanitizer update added specific support for FreeBSD +which includes . Alas GCC features it's own which +is picked up, but does not provide everything necessary - boom. + +Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 + +--- UTC +--- libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp ++++ libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.cpp +@@ -69,7 +69,7 @@ + #include + #include + #include +-#include ++#include "/usr/include/md5.h" + #include + #include + #include