From owner-svn-ports-all@freebsd.org Tue Aug 16 07:21:06 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C166EBBB782; Tue, 16 Aug 2016 07:21:06 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 942141D84; Tue, 16 Aug 2016 07:21:06 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7G7L5xJ062632; Tue, 16 Aug 2016 07:21:05 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7G7L5LW062630; Tue, 16 Aug 2016 07:21:05 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201608160721.u7G7L5LW062630@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Tue, 16 Aug 2016 07:21:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420267 - head/lang/gcc48 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 07:21:06 -0000 Author: gerald Date: Tue Aug 16 07:21:05 2016 New Revision: 420267 URL: https://svnweb.freebsd.org/changeset/ports/420267 Log: 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. PR: 210122, 211742 Submitted by: jkim Modified: head/lang/gcc48/Makefile head/lang/gcc48/distinfo Modified: head/lang/gcc48/Makefile ============================================================================== --- head/lang/gcc48/Makefile Tue Aug 16 05:45:41 2016 (r420266) +++ head/lang/gcc48/Makefile Tue Aug 16 07:21:05 2016 (r420267) @@ -90,7 +90,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/gcc48/distinfo ============================================================================== --- head/lang/gcc48/distinfo Tue Aug 16 05:45:41 2016 (r420266) +++ head/lang/gcc48/distinfo Tue Aug 16 07:21:05 2016 (r420267) @@ -1,2 +1,3 @@ +TIMESTAMP = 1471299749 SHA256 (gcc-4.8.5.tar.bz2) = 22fb1e7e0f68a63cee631d85b20461d1ea6bda162f03096350e38c8d427ecf23 SIZE (gcc-4.8.5.tar.bz2) = 86165587