From owner-svn-ports-head@freebsd.org Sat Jul 14 21:59:22 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD9CA103FD26; Sat, 14 Jul 2018 21:59:22 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80AD78AEB0; Sat, 14 Jul 2018 21:59:22 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D19224BDD; Sat, 14 Jul 2018 21:59:22 +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 w6ELxMuo089493; Sat, 14 Jul 2018 21:59:22 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6ELxLE3089490; Sat, 14 Jul 2018 21:59:21 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201807142159.w6ELxLE3089490@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sat, 14 Jul 2018 21:59:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474650 - in head/lang: . gcc8 X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: in head/lang: . gcc8 X-SVN-Commit-Revision: 474650 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2018 21:59:23 -0000 Author: gerald Date: Sat Jul 14 21:59:21 2018 New Revision: 474650 URL: https://svnweb.freebsd.org/changeset/ports/474650 Log: Welcome GCC 8.1, the first release of the GCC 8 series! https://gcc.gnu.org/gcc-8/changes.html has a comprehensive overview of many changes in this release and https://gcc.gnu.org/gcc-8/porting_to.html addresses issues you may encounter porting to this new version. To provide a brief overview of some of the more noticable changes: On the optimization front inter-procedural optimizations (IPO) and profile driven optimizations (PDO) have been further improved and some classic loop nest optimization passes have been added: -floop-unroll-and-jam performs outer loop unrolling and fusing of the inner loop copies, while -floop-interchange exchanges loops in a loop nest to improve data locality. These, as well as an improved -ftree-loop-distribution pass are enabled by default at -O3 and above. A new pragma "GCC unroll" has been implemented in the C family of languages as well as Fortran to provide finer-grained control over loop unrolling. DWARF debugging information in the presence of link-time optimization now properly preserves language-specific information. The -gcolumn-info option is now enabled by default, so column information is part of DWARF debugging information in addition to filenames and line numbers. The C family compilers have gained options -Wmultistatement-macros (warning about unsafe macros expanding to multiple statements used as a body of a statement such as if, else, while, switch, or for), -Wstringop-truncation (warning for calls to bounded string manipulation functions such as strncat, strncpy, and stpncpy that might either truncate the copied string or leave the destination unchanged), -Wcast-function-type (warning when a function pointer is cast to an incompatible function pointer, enabled by -Wextra), and -Wsizeof-pointer-div (warning for suspicious divisions of the size of a pointer by the size of the elements it points to, which usually is an indication of a mistaken way to calculate the number of elements in an array, enabled by -Wall), among others. The existing -Warray-bounds and -Wrestrict options have been enhanced to detect many more instances, as have -Wformat-overflow and -Wformat-truncation. Error messages and warnings better highlight the locations of issues in many cases, and helpful "fix it" hints are provided more often. The C++ ABI (-fabi-version=12) introduces minor changes in a few fringe cases. The GCC 7 ABI can still be selected with -fabi-version=11. The C++ frontend as well as libstdc++ feature experimental support for many C++2a features and Fortran has seen a large number of improvements. Lots and lots of improvements for Arm and AArch64 targets, as well as the usual dose on x86 and powerpc. PR: 229681 Added: head/lang/gcc8/ - copied from r474646, head/lang/gcc8-devel/ Modified: head/lang/Makefile head/lang/gcc8/Makefile head/lang/gcc8/distinfo Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Sat Jul 14 19:42:58 2018 (r474649) +++ head/lang/Makefile Sat Jul 14 21:59:21 2018 (r474650) @@ -110,6 +110,7 @@ SUBDIR += gcc6-devel SUBDIR += gcc7 SUBDIR += gcc7-devel + SUBDIR += gcc8 SUBDIR += gcc8-devel SUBDIR += gcc9-devel SUBDIR += gforth Modified: head/lang/gcc8/Makefile ============================================================================== --- head/lang/gcc8-devel/Makefile Sat Jul 14 18:45:43 2018 (r474646) +++ head/lang/gcc8/Makefile Sat Jul 14 21:59:21 2018 (r474650) @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 8.1.1.s20180713 +PORTVERSION= 8.1.0 CATEGORIES= lang -MASTER_SITES= GCC/snapshots/${DIST_VERSION} -PKGNAMESUFFIX= ${SUFFIX}-devel -DISTNAME= gcc-${DIST_VERSION} +MASTER_SITES= GCC +PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 8 @@ -26,17 +25,11 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils BUILD_DEPENDS+= runtest:misc/dejagnu .endif -CONFLICTS= gcc8-8.* +CONFLICTS= gcc8-devel-8.* CPE_VENDOR= gnu -CPE_VERSION= ${GCC_VERSION} -# DIST_VERSION relates to downloads, GCC_VERSION and SUFFIX to names -# of executables and directories once installed. A PORTVERSION of -# Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y -# for these three. -DIST_VERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} -GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} +GCC_VERSION= ${PORTVERSION} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes @@ -109,10 +102,9 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp -.if ${ARCH} == amd64 || ${ARCH} == i386 +# Release tarballs (as opposed to snapshots) always carry this. INFO+= gcc${SUFFIX}/libquadmath \ gcc${SUFFIX}/libitm -.endif SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} Modified: head/lang/gcc8/distinfo ============================================================================== --- head/lang/gcc8-devel/distinfo Sat Jul 14 18:45:43 2018 (r474646) +++ head/lang/gcc8/distinfo Sat Jul 14 21:59:21 2018 (r474650) @@ -1,3 +1,3 @@ -TIMESTAMP = 1531583910 -SHA256 (gcc-8-20180713.tar.xz) = f6ea235302162e3aa6095c76eefbdcc2a85a83ae92fe301451907116d886c801 -SIZE (gcc-8-20180713.tar.xz) = 61668960 +TIMESTAMP = 1525606464 +SHA256 (gcc-8.1.0.tar.xz) = 1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153 +SIZE (gcc-8.1.0.tar.xz) = 63372320