From owner-svn-ports-head@freebsd.org Thu Mar 4 21:18:23 2021 Return-Path: Delivered-To: svn-ports-head@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 2130555A7DE; Thu, 4 Mar 2021 21:18:23 +0000 (UTC) (envelope-from jhb@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 4Ds3cv0R9Qz4wlQ; Thu, 4 Mar 2021 21:18:23 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EB60B244CD; Thu, 4 Mar 2021 21:18:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 124LIMOp060398; Thu, 4 Mar 2021 21:18:22 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 124LIMXP060394; Thu, 4 Mar 2021 21:18:22 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <202103042118.124LIMXP060394@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Thu, 4 Mar 2021 21:18:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567341 - in head/devel/freebsd-gcc9: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: in head/devel/freebsd-gcc9: . files X-SVN-Commit-Revision: 567341 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 21:18:23 -0000 Author: jhb (src,doc committer) Date: Thu Mar 4 21:18:22 2021 New Revision: 567341 URL: https://svnweb.freebsd.org/changeset/ports/567341 Log: Update to GCC 9.3.0. While here, switch i386 to assume a default architecture of "i686" for FreeBSD 11+ to match clang. This permits lldb to link without needing libatomic. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26205 Added: head/devel/freebsd-gcc9/files/patch-i686 (contents, props changed) Modified: head/devel/freebsd-gcc9/Makefile head/devel/freebsd-gcc9/distinfo Modified: head/devel/freebsd-gcc9/Makefile ============================================================================== --- head/devel/freebsd-gcc9/Makefile Thu Mar 4 21:07:17 2021 (r567340) +++ head/devel/freebsd-gcc9/Makefile Thu Mar 4 21:18:22 2021 (r567341) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 9.2.0 -PORTREVISION= 1 +PORTVERSION= 9.3.0 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX= ${TARGETARCH}- @@ -76,6 +75,10 @@ CONFIGURE_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} . if ${COMPILER_TYPE} == clang MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . endif +.endif + +.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "powerpc64" +CONFIGURE_ARGS+=--enable-multilib .endif .if ${ARCH} == "aarch64" Modified: head/devel/freebsd-gcc9/distinfo ============================================================================== --- head/devel/freebsd-gcc9/distinfo Thu Mar 4 21:07:17 2021 (r567340) +++ head/devel/freebsd-gcc9/distinfo Thu Mar 4 21:18:22 2021 (r567341) @@ -1,3 +1,3 @@ -TIMESTAMP = 1574959919 -SHA256 (gcc-9.2.0.tar.xz) = ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206 -SIZE (gcc-9.2.0.tar.xz) = 70607648 +TIMESTAMP = 1595179652 +SHA256 (gcc-9.3.0.tar.xz) = 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1 +SIZE (gcc-9.3.0.tar.xz) = 70533868 Added: head/devel/freebsd-gcc9/files/patch-i686 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/freebsd-gcc9/files/patch-i686 Thu Mar 4 21:18:22 2021 (r567341) @@ -0,0 +1,13 @@ +--- gcc/config.gcc.orig 2020-08-19 09:37:17.455916000 -0700 ++++ gcc/config.gcc 2020-08-19 10:19:33.883084000 -0700 +@@ -3346,7 +3346,9 @@ arch_without_sse2=no + arch_without_64bit=no + case ${target} in + i386-*-freebsd*) +- if test $fbsd_major -ge 6; then ++ if test $fbsd_major -ge 11; then ++ arch=i686 ++ elif test $fbsd_major -ge 6; then + arch=i486 + else + arch=i386