svn commit: r420613 - in head/lang/gcc6: . files

Gerald Pfeifer gerald at FreeBSD.org
Mon Aug 22 13:20:48 UTC 2016


Author: gerald
Date: Mon Aug 22 13:20:47 2016
New Revision: 420613
URL: https://svnweb.freebsd.org/changeset/ports/420613

Log:
  Update to the GCC 6.2 release with a fair number of fixes.
  
  files/patch-armv6-hf-support has been accepted upstream, even
  on the GCC 6-branch this release comes from, so remove it.
  
  Backport the following from lang/gcc6-devel:
  
  GCC uses an AWK script to generate source code that helps process
  command-line options.  According to POSIX, string comparisons (and
  hence sorting) are to be performed based on the locale's collating
  order.  Alas GNU AWK only does so in POSIX mode, whereas starting
  with FreeBSD 11 we do so by default, running into a bug (or false
  assumption) with that script used by GCC.
  
  Setting MAKE_ARGS such that AWK is always invoked in the C locale
  works around this bug. [1]
  
  PR:		210122 [1], 211742 [1]
  Submitted by:	jkim [1]

Deleted:
  head/lang/gcc6/files/patch-armv6-hf-support
Modified:
  head/lang/gcc6/Makefile
  head/lang/gcc6/distinfo

Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6/Makefile	Mon Aug 22 13:17:48 2016	(r420612)
+++ head/lang/gcc6/Makefile	Mon Aug 22 13:20:47 2016	(r420613)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	6.1.0
+PORTVERSION=	6.2.0
 CATEGORIES=	lang java
 MASTER_SITES=	GCC/releases/gcc-${DISTVERSION}
 PKGNAMESUFFIX=	${SUFFIX}
@@ -106,7 +106,10 @@ CONFIGURE_ARGS+=--disable-nls \
 		${ICONV_CONFIGURE_ARG} \
 		--with-pkgversion="FreeBSD Ports Collection" \
 		--with-system-zlib
-MAKE_ARGS+=	MAKEINFOFLAGS="--no-split"
+# On FreeBSD 11 and above AWK uses the locale's collating order which
+# runs into a bug in GCC (PR 211742).
+MAKE_ARGS+=	MAKEINFOFLAGS="--no-split" \
+		AWK="${SETENV} LC_ALL=C ${AWK:Q}"
 USE_LDCONFIG=	${TARGLIB}
 PLIST_SUB=	GCC_VERSION=${GCC_VERSION} \
 		GNU_HOST=${CONFIGURE_TARGET} \

Modified: head/lang/gcc6/distinfo
==============================================================================
--- head/lang/gcc6/distinfo	Mon Aug 22 13:17:48 2016	(r420612)
+++ head/lang/gcc6/distinfo	Mon Aug 22 13:20:47 2016	(r420613)
@@ -1,2 +1,3 @@
-SHA256 (gcc-6.1.0.tar.bz2) = 09c4c85cabebb971b1de732a0219609f93fc0af5f86f6e437fd8d7f832f1a351
-SIZE (gcc-6.1.0.tar.bz2) = 99267556
+TIMESTAMP = 1471862430
+SHA256 (gcc-6.2.0.tar.bz2) = 9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5
+SIZE (gcc-6.2.0.tar.bz2) = 99778648


More information about the svn-ports-all mailing list