svn commit: r416661 - in head/lang: . gcc6
Gerald Pfeifer
gerald at FreeBSD.org
Fri Jun 10 09:04:17 UTC 2016
Author: gerald
Date: Fri Jun 10 09:04:15 2016
New Revision: 416661
URL: https://svnweb.freebsd.org/changeset/ports/416661
Log:
Welcome to the GCC 6.1 release, the first release of the GCC 6 series.
The default mode for C++ is now -std=gnu++14 instead of -std=gnu++98.
Type-based alias analysis now disambiguates accesses to different pointers.
This improves precision of the alias oracle by about 20-30% on higher-level
C++ programs. Programs doing invalid type punning of pointer types may now
need -fno-strict-aliasing to work correctly.
Value range propagation now assumes that the this pointer of C++ member
functions is non-null. This eliminates common null pointer checks but also
breaks some non-conforming code-bases (such as Qt-5, Chromium, KDevelop).
As a temporary work-around -fno-delete-null-pointer-checks can be used.
Wrong code can be identified by using -fsanitize=undefined.
There have been significant improvements around link-time optimization
and inter-procedural optimization and some support for OpenACC (though
probably not tested on FreeBSD) and version 4.5 of the OpenMP specification.
Source locations for the C and C++ compilers are now tracked as ranges
and diagnostics can now contain "fix-it hints".
New command-line options include -Wshift-negative-value, -Wshift-overflow,
-Wtautological-compare, -Wnull-dereference, -Wduplicated-cond, and
-Wmisleading-indentation.
C++ Concepts are now supported when compiling with -fconcepts, and there
are several other improvements around support for newer C++ features as
well as in the libstdc++ library.
Fortran now features Fortran 2008 SUBMODULE support, Fortran 2015 EVENT_TYPE,
EVENT_POST, EVENT_WAIT, and EVENT_QUERY support, and improved support for
OpenMP and OpenACC.
A lot has happened on the AArch64 and ARM fronts, on x86-64 there is now
Skylake with AVX-512 support, AMD instructions monitorx and mwaitx, and
support for address spaces __seg_fs, __seg_gs, and __seg_tl, as well as
AMD Zen (family 17h) processors, and basic support has been added for POWER9.
https://gcc.gnu.org/gcc-6/changes.html has a more extensive set of
changes and https://gcc.gnu.org/gcc-6/porting_to.html has a solid
overview of issue you may encountering porting to this new version.
Added:
head/lang/gcc6/
- copied from r414647, head/lang/gcc6-devel/
Modified:
head/lang/Makefile
head/lang/gcc6/Makefile
head/lang/gcc6/distinfo
Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile Fri Jun 10 09:03:54 2016 (r416660)
+++ head/lang/Makefile Fri Jun 10 09:04:15 2016 (r416661)
@@ -99,6 +99,7 @@
SUBDIR += gcc5
SUBDIR += gcc5-aux
SUBDIR += gcc5-devel
+ SUBDIR += gcc6
SUBDIR += gcc6-aux
SUBDIR += gcc6-devel
SUBDIR += gcc7-devel
Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6-devel/Makefile Thu May 5 14:02:52 2016 (r414647)
+++ head/lang/gcc6/Makefile Fri Jun 10 09:04:15 2016 (r416661)
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 6.1.1.s20160428
+PORTVERSION= 6.1.0
CATEGORIES= lang java
-MASTER_SITES= GCC/snapshots/${DISTVERSION}
-PKGNAMESUFFIX= ${SUFFIX}-devel
+MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
+PKGNAMESUFFIX= ${SUFFIX}
MAINTAINER= gerald at FreeBSD.org
COMMENT= GNU Compiler Collection 6
@@ -118,10 +118,11 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} == "i386" || ${ARCH} == "amd64"
+# Release tarballs (as opposed to snapshots) always carry this.
+#.if ${ARCH} == "i386" || ${ARCH} == "amd64"
INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
-.endif
+#.endif
SUB_FILES= pkg-message
SUB_LIST+= TARGLIB=${TARGLIB}
Modified: head/lang/gcc6/distinfo
==============================================================================
--- head/lang/gcc6-devel/distinfo Thu May 5 14:02:52 2016 (r414647)
+++ head/lang/gcc6/distinfo Fri Jun 10 09:04:15 2016 (r416661)
@@ -1,2 +1,2 @@
-SHA256 (gcc-6-20160428.tar.bz2) = 3721749562b73151ca2e37becf0d1ee87b43007aa035572a3c7948bc565f0475
-SIZE (gcc-6-20160428.tar.bz2) = 95408683
+SHA256 (gcc-6.1.0.tar.bz2) = 09c4c85cabebb971b1de732a0219609f93fc0af5f86f6e437fd8d7f832f1a351
+SIZE (gcc-6.1.0.tar.bz2) = 99267556
More information about the svn-ports-head
mailing list