From owner-svn-ports-all@freebsd.org Mon Mar 11 12:11:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7037415406CE; Mon, 11 Mar 2019 12:11:42 +0000 (UTC) (envelope-from gerald@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 110A893951; Mon, 11 Mar 2019 12:11:42 +0000 (UTC) (envelope-from gerald@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 EFB2CA95F; Mon, 11 Mar 2019 12:11:41 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2BCBfev034328; Mon, 11 Mar 2019 12:11:41 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2BCBfbY034326; Mon, 11 Mar 2019 12:11:41 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201903111211.x2BCBfbY034326@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Mon, 11 Mar 2019 12:11:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495351 - head/lang/gcc9-devel X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/lang/gcc9-devel X-SVN-Commit-Revision: 495351 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 110A893951 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2019 12:11:42 -0000 Author: gerald Date: Mon Mar 11 12:11:41 2019 New Revision: 495351 URL: https://svnweb.freebsd.org/changeset/ports/495351 Log: Update to the 20180310 snapshot of GCC 9.0.1. Forward port r469788 from lang/gcc6 since apparently people are still using the -mretpoline option that is specific to clang, and gcc9-devel is going to branch into gcc9 in a rew months and that one later the default version of GCC in use: Filter the -mretpoline command-line option, which is understood by recent versions of clang (and used in the context of the Spectre security issues), but not GCC (which uses different options for the same) from CFLAGS and CXXFLAGS. This avoids the build of this port via bootstrap, which is the default and leverages both the system compiler (clang in most cases) plus a just built version GCC, to fail due to the latter not knowing -mretpoline. PR: 228205 Submitted by: rozhuk.im@gmail.com Modified: head/lang/gcc9-devel/Makefile head/lang/gcc9-devel/distinfo Modified: head/lang/gcc9-devel/Makefile ============================================================================== --- head/lang/gcc9-devel/Makefile Mon Mar 11 11:41:34 2019 (r495350) +++ head/lang/gcc9-devel/Makefile Mon Mar 11 12:11:41 2019 (r495351) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 9.0.1.s20190303 +PORTVERSION= 9.0.1.s20190310 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -40,6 +40,8 @@ DIST_VERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1 GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} SSP_UNSAFE= yes +CFLAGS:= ${CFLAGS:N-mretpoline} +CXXFLAGS:= ${CXXFLAGS:N-mretpoline} OPTIONS_DEFINE= BOOTSTRAP GRAPHITE OPTIONS_DEFAULT= BOOTSTRAP Modified: head/lang/gcc9-devel/distinfo ============================================================================== --- head/lang/gcc9-devel/distinfo Mon Mar 11 11:41:34 2019 (r495350) +++ head/lang/gcc9-devel/distinfo Mon Mar 11 12:11:41 2019 (r495351) @@ -1,3 +1,3 @@ -TIMESTAMP = 1551670434 -SHA256 (gcc-9-20190303.tar.xz) = fea721bdf6b8671684409a30ea1ee0aebaf5ead065b7e5882197a8914c0b4c25 -SIZE (gcc-9-20190303.tar.xz) = 68450204 +TIMESTAMP = 1552303178 +SHA256 (gcc-9-20190310.tar.xz) = c08d516212beba122b86d31f128489227451cadb4c34ecf19cfead2315d26310 +SIZE (gcc-9-20190310.tar.xz) = 68480012