Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2016 20:44:21 +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: r420165 - head/lang/gcc6-devel
Message-ID:  <201608132044.u7DKiLYR048481@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sat Aug 13 20:44:21 2016
New Revision: 420165
URL: https://svnweb.freebsd.org/changeset/ports/420165

Log:
  Update to the 20160811 snapshot of GCC 6.
  
  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]

Modified:
  head/lang/gcc6-devel/Makefile
  head/lang/gcc6-devel/distinfo

Modified: head/lang/gcc6-devel/Makefile
==============================================================================
--- head/lang/gcc6-devel/Makefile	Sat Aug 13 20:16:08 2016	(r420164)
+++ head/lang/gcc6-devel/Makefile	Sat Aug 13 20:44:21 2016	(r420165)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	6.1.1.s20160804
+PORTVERSION=	6.1.1.s20160811
 CATEGORIES=	lang java
 MASTER_SITES=	GCC/snapshots/${DISTVERSION}
 PKGNAMESUFFIX=	${SUFFIX}-devel
@@ -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-devel/distinfo
==============================================================================
--- head/lang/gcc6-devel/distinfo	Sat Aug 13 20:16:08 2016	(r420164)
+++ head/lang/gcc6-devel/distinfo	Sat Aug 13 20:44:21 2016	(r420165)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470424148
-SHA256 (gcc-6-20160804.tar.bz2) = ba34473f67bb195c3dd6fa4e213db0e9e0904fdcfe07e83fbb72d432a084a67b
-SIZE (gcc-6-20160804.tar.bz2) = 95558680
+TIMESTAMP = 1471081911
+SHA256 (gcc-6-20160811.tar.bz2) = 6e6c6f79222c5f5d337093c15743b6233a73d9263b562b5c3e281f8a9ea34dd0
+SIZE (gcc-6-20160811.tar.bz2) = 95575696



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