Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jun 2016 02:56:47 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Gerald Pfeifer <gerald@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r416661 - in head/lang: . gcc6
Message-ID:  <CAMHz58RFjLB0_1vxrb5Ww938fL8dtuBYTWFyrc6SfYjNViZmbw@mail.gmail.com>
In-Reply-To: <201606100904.u5A94Fuq018242@repo.freebsd.org>
References:  <201606100904.u5A94Fuq018242@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 10, 2016 at 5:04 PM, Gerald Pfeifer <gerald@freebsd.org> wrote:

> 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@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
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
>

Hello Gerald,

I got Q/A message as follows:
<http://people.FreeBSD.org/~sunpoet/pgpkeys.txt>;
====> Running Q/A tests (stage-qa)
Warning:
'libexec/gcc6/gcc/x86_64-portbld-freebsd10.3/6.1.0/liblto_plugin.so.0.0.0'
is not stripped consider trying INSTALL_TARGET=install-strip or using
${STRIP_CMD}
Warning: 'lib/gcc6/libcc1.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libcilkrts.so.5.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libgomp.so.1.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libatomic.so.1.2.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libgcc_s.so.1' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libquadmath.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libobjc.so.4.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libstdc++.so.6.0.22' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libitm.so.1.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/gcc6/libgfortran.so.3.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning:
'lib/gcc6/gcc/x86_64-portbld-freebsd10.3/6.1.0/plugin/libcc1plugin.so.0.0.0'
is not stripped consider trying INSTALL_TARGET=install-strip or using
${STRIP_CMD}
Warning: 'lib/gcc6/libssp.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Error: /usr/local/lib/gcc6/libcilkrts.so.5.0.0 is linked to
/usr/local/lib/compat/libstdc++.so.6 from misc/compat9x but it is not
declared as a dependency

Regards,
sunpoet



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