svn commit: r420325 - head/lang/gcc5-devel
Gerald Pfeifer
gerald at FreeBSD.org
Wed Aug 17 09:02:55 UTC 2016
Author: gerald
Date: Wed Aug 17 09:02:53 2016
New Revision: 420325
URL: https://svnweb.freebsd.org/changeset/ports/420325
Log:
Update to the 20160816 snapshot of GCC 5.4.1.
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/gcc5-devel/Makefile
head/lang/gcc5-devel/distinfo
Modified: head/lang/gcc5-devel/Makefile
==============================================================================
--- head/lang/gcc5-devel/Makefile Wed Aug 17 08:55:35 2016 (r420324)
+++ head/lang/gcc5-devel/Makefile Wed Aug 17 09:02:53 2016 (r420325)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 5.4.1.s20160809
+PORTVERSION= 5.4.1.s20160816
CATEGORIES= lang java
MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -103,7 +103,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/gcc5-devel/distinfo
==============================================================================
--- head/lang/gcc5-devel/distinfo Wed Aug 17 08:55:35 2016 (r420324)
+++ head/lang/gcc5-devel/distinfo Wed Aug 17 09:02:53 2016 (r420325)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470819356
-SHA256 (gcc-5-20160809.tar.bz2) = c5ffb7081c44ec796877e7e6c47278cb2cae380be0e924350ef1e1090c02e320
-SIZE (gcc-5-20160809.tar.bz2) = 91649914
+TIMESTAMP = 1471422027
+SHA256 (gcc-5-20160816.tar.bz2) = 3bad56f10bd159e5083033ba883436f506bbfbcada51c15971ccb97cf9917ef9
+SIZE (gcc-5-20160816.tar.bz2) = 91654131
More information about the svn-ports-head
mailing list