Date: Fri, 11 Jan 2019 19:26:42 +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: r489990 - head/lang/gcc8-devel Message-ID: <201901111926.x0BJQg7Q061056@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Fri Jan 11 19:26:42 2019 New Revision: 489990 URL: https://svnweb.freebsd.org/changeset/ports/489990 Log: Update to the 20180104 snapshot of GCC 8.2.1. Forward port r469788 from lang/gcc6 = backport r475105 from lang/gcc8: 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/gcc8-devel/Makefile head/lang/gcc8-devel/distinfo Modified: head/lang/gcc8-devel/Makefile ============================================================================== --- head/lang/gcc8-devel/Makefile Fri Jan 11 18:52:14 2019 (r489989) +++ head/lang/gcc8-devel/Makefile Fri Jan 11 19:26:42 2019 (r489990) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 8.2.1.s20181228 +PORTVERSION= 8.2.1.s20190104 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -42,6 +42,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/gcc8-devel/distinfo ============================================================================== --- head/lang/gcc8-devel/distinfo Fri Jan 11 18:52:14 2019 (r489989) +++ head/lang/gcc8-devel/distinfo Fri Jan 11 19:26:42 2019 (r489990) @@ -1,3 +1,3 @@ -TIMESTAMP = 1546117010 -SHA256 (gcc-8-20181228.tar.xz) = 3f557811e22f3e8e1b82d5e675184ebdb958fbcfbfcb31ef59671e069f6b8be8 -SIZE (gcc-8-20181228.tar.xz) = 61773116 +TIMESTAMP = 1547147804 +SHA256 (gcc-8-20190104.tar.xz) = 5d621da8df9918838b6e87ef0631dc03cce770e4f2be4d92020746882af4c815 +SIZE (gcc-8-20190104.tar.xz) = 61776960
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901111926.x0BJQg7Q061056>