Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 12:11:41 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495351 - head/lang/gcc9-devel
Message-ID:  <201903111211.x2BCBfbY034326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903111211.x2BCBfbY034326>