Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 15:04:05 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Gerald Pfeifer <gerald@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r367883 - in head: Mk lang/gcc
Message-ID:  <5410AEB5.9050205@FreeBSD.org>
In-Reply-To: <201409101909.s8AJ9wpY028698@svn.freebsd.org>
References:  <201409101909.s8AJ9wpY028698@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--a1lJiSU2ags9CTO286EK3vIJOK4L3xfUe
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 9/10/2014 2:09 PM, Gerald Pfeifer wrote:
> Author: gerald
> Date: Wed Sep 10 19:09:58 2014
> New Revision: 367883
> URL: http://svnweb.freebsd.org/changeset/ports/367883
> QAT: https://qat.redports.org/buildarchive/r367883/
>=20
> Log:
>   Update the default version of GCC in the Ports Collection from GCC 4.=
7.4
>   to GCC 4.8.3.
>  =20
>   This entails updating the lang/gcc port as well as changing the defau=
lt
>   in Mk/bsd.default-versions.mk, and it replaces the CONFLICT between t=
he
>   lang/gcc and lang/gcc47 ports by lang/gcc48.
>  =20
>   GCC now uses C++ as its implementation language and performs more
>   aggressive loop analysis which can be disabled via the
>   -fno-aggressive-loop-optimizations command-line option.
>  =20
>   Compilation of extremely large functions has been signficantly improv=
ed,
>   as have interprocedural optimizations.
>  =20
>   A new optimization level -Og has been introduced.  It addresses the n=
eed
>   for fast compilation and a superior debugging experience while provid=
ing
>   a reasonable level of run-time performance.  This should be better
>   suitable for development than the default -O0.
>  =20
>   A new local register allocator (LRA) has been implemented, which repl=
aces
>   the 26 year old reload pass and improves generated code quality. For =
now
>   it is active on the x86 and x86-64 targets.
>  =20
>   AddressSanitizer, a fast memory error detector, has been added and ca=
n be
>   enabled via -fsanitize=3Daddress.
>  =20
>   Each diagnostic emitted now includes the original source line and a c=
aret
>   indicating the column.
>  =20
>   The new option -Wpedantic is an alias for -pedantic, which is now dep=
recated.
>  =20
>   The C++ frontend and associated run-time library libstdc++ have gaine=
d
>   support for many additional C++11 features.  As with previous release=
s
>   the Fortrand frontend has seen many improvements as well.
>  =20
>   Support for the AArch64 has been added, and there are many improvemen=
ts
>   to the x86/x86-64 backend and others.
>  =20
>   See http://gcc.gnu.org/gcc-4.8/changes.html for an extense list of ch=
anges;
>   http://gcc.gnu.org/gcc-4.8/porting_to.html for information on how to =
port
>   to that new version.


Thanks for writing up a summary of changes. Very useful. I learned about
AddressSanitizer being supported.

>  =20
>   PR:		192025
>   Tested by:	antoine (-exp runs)
>=20
> Modified:
>   head/Mk/bsd.default-versions.mk
>   head/lang/gcc/Makefile
>   head/lang/gcc/distinfo
>   head/lang/gcc/pkg-descr
>   head/lang/gcc/pkg-plist
>=20
> Modified: head/Mk/bsd.default-versions.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/Mk/bsd.default-versions.mk	Wed Sep 10 19:06:54 2014	(r367882)
> +++ head/Mk/bsd.default-versions.mk	Wed Sep 10 19:09:58 2014	(r367883)
> @@ -20,7 +20,7 @@ ${_l:tu}_DEFAULT=3D	${lang:C/.*=3D//g}
> =20
>  APACHE_DEFAULT?=3D	2.4
>  FPC_DEFAULT?=3D		2.6.4
> -GCC_DEFAULT?=3D		4.7
> +GCC_DEFAULT?=3D		4.8
>  LUA_DEFAULT?=3D		5.2
>  MYSQL_DEFAULT?=3D		5.5
>  PERL5_DEFAULT?=3D		5.16
>=20
> Modified: head/lang/gcc/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lang/gcc/Makefile	Wed Sep 10 19:06:54 2014	(r367882)
> +++ head/lang/gcc/Makefile	Wed Sep 10 19:09:58 2014	(r367883)
> @@ -2,13 +2,13 @@
>  # $FreeBSD$
> =20
>  PORTNAME=3D	gcc
> -PORTVERSION=3D	4.7.4
> +PORTVERSION=3D	4.8.3
>  CATEGORIES=3D	lang java
>  MASTER_SITES=3D	${MASTER_SITE_GCC}
>  MASTER_SITE_SUBDIR=3D	releases/gcc-${DISTVERSION}
> =20
>  MAINTAINER=3D	gerald@FreeBSD.org
> -COMMENT=3D	GNU Compiler Collection 4.7
> +COMMENT=3D	GNU Compiler Collection 4.8
> =20
>  LICENSE=3D	GPLv3 GPLv3RLE
>  LICENSE_COMB=3D	multi
> @@ -23,7 +23,7 @@ RUN_DEPENDS+=3D	${LOCALBASE}/bin/as:${PORT
>  BUILD_DEPENDS+=3D	runtest:${PORTSDIR}/misc/dejagnu
>  .endif
> =20
> -CONFLICTS=3D	gcc47*
> +CONFLICTS=3D	gcc48*
> =20
>  # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
>  # of executables and directories once installed.
> @@ -94,7 +94,7 @@ INFO=3D		gcc${SUFFIX}/cpp \
>  		gcc${SUFFIX}/gfortran \
>  		gcc${SUFFIX}/libgomp
>  # Release tarballs (as opposed to snapshots) always carry this.
> -#.if ${ARCH} !=3D "ia64" && ${ARCH} !=3D "powerpc" && ${ARCH} !=3D "sp=
arc64"
> +#.if ${ARCH} =3D=3D "i386" || ${ARCH} =3D=3D "amd64"
>  INFO+=3D		gcc${SUFFIX}/libquadmath \
>  		gcc${SUFFIX}/libitm
>  #.endif
>=20
> Modified: head/lang/gcc/distinfo
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lang/gcc/distinfo	Wed Sep 10 19:06:54 2014	(r367882)
> +++ head/lang/gcc/distinfo	Wed Sep 10 19:09:58 2014	(r367883)
> @@ -1,2 +1,2 @@
> -SHA256 (gcc-4.7.4.tar.bz2) =3D 92e61c6dc3a0a449e62d72a38185fda550168a8=
6702dea07125ebd3ec3996282
> -SIZE (gcc-4.7.4.tar.bz2) =3D 82935453
> +SHA256 (gcc-4.8.3.tar.bz2) =3D 6a8e4f11b185f4fe2ed9d7fc053e80f8c7e73f8=
00c045f51f9d8bea33f080f1e
> +SIZE (gcc-4.8.3.tar.bz2) =3D 86126808
>=20
> Modified: head/lang/gcc/pkg-descr
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lang/gcc/pkg-descr	Wed Sep 10 19:06:54 2014	(r367882)
> +++ head/lang/gcc/pkg-descr	Wed Sep 10 19:09:58 2014	(r367883)
> @@ -1,11 +1,11 @@
>  GCC, the GNU Compiler Collection, supports a number of languages.  Thi=
s
> -port installs the C, C++, Fortran and Java front ends as gcc47, g++47,=

> -gfortran47, and gcj47, respectively.
> +port installs the C, C++, Fortran and Java front ends as gcc48, g++48,=

> +gfortran48, and gcj48, respectively.
> =20
> -It can be used interchangibly with the lang/gcc47 port which tracks
> +It can be used interchangibly with the lang/gcc48 port which tracks
>  weekly upstream snapshots whereas this port will be updated less
>  frequently, mostly in sync with upstream releases, and will move to
> -lang/gcc48 and later over time.
> +lang/gcc49 and later over time.
> =20
>  WWW: http://gcc.gnu.org/
> =20
>=20
> Modified: head/lang/gcc/pkg-plist
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lang/gcc/pkg-plist	Wed Sep 10 19:06:54 2014	(r367882)
> +++ head/lang/gcc/pkg-plist	Wed Sep 10 19:09:58 2014	(r367883)
> @@ -52,7 +52,7 @@ share/gcc-%%GCC_VERSION%%/python/libstdc
>  %%JAVA%%bin/gtnameserv%%SUFFIX%%
>  %%JAVA%%bin/jcf-dump%%SUFFIX%%
>  %%JAVA%%bin/jv-convert%%SUFFIX%%
> -%%JAVA%%libdata/pkgconfig/libgcj-4.7.pc
> +%%JAVA%%libdata/pkgconfig/libgcj-4.8.pc
>  %%JAVA%%man/man1/aot-compile%%SUFFIX%%.1.gz
>  %%JAVA%%man/man1/gappletviewer%%SUFFIX%%.1.gz
>  %%JAVA%%man/man1/gc-analyze%%SUFFIX%%.1.gz
> @@ -74,9 +74,6 @@ share/gcc-%%GCC_VERSION%%/python/libstdc
>  %%JAVA%%man/man1/gtnameserv%%SUFFIX%%.1.gz
>  %%JAVA%%man/man1/jcf-dump%%SUFFIX%%.1.gz
>  %%JAVA%%man/man1/jv-convert%%SUFFIX%%.1.gz
> -%%JAVA%%man/man3/ffi%%SUFFIX%%.3.gz
> -%%JAVA%%man/man3/ffi_call%%SUFFIX%%.3.gz
> -%%JAVA%%man/man3/ffi_prep_cif%%SUFFIX%%.3.gz
>  %%JAVA%%share/java/libgcj-%%GCC_VERSION%%.jar
>  %%JAVA%%share/java/libgcj-tools-%%GCC_VERSION%%.jar
>  @exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-=
links -v; fi
>=20


--=20
Regards,
Bryan Drewery


--a1lJiSU2ags9CTO286EK3vIJOK4L3xfUe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJUEK61AAoJEDXXcbtuRpfPetsH/3JF24NrIB1ucDJ0IRV/wgvg
XZAwz2zkHMYQDhrkSXfDNUqEckmyHI2N7lDA2nkz3bov3qYGSIaDa9EfXYs4zXFh
x3fAVlTIFmhx4QxyGE3RI/aUrEde25H7H3xjdN7didHpdL8+umqirtkoHBUZpmtG
AR2Sn7F/LKBJRj39gvUr6WskeXpvAgobDVn1xlXV24gBLSewlZ+NxrT0p4UJe3zt
n+wbjInTRPFP87XcZr8//1oOi5nWQkWDlbktyc/SnvmcdVaAFaVYgtjRovPfYQYU
JamUaqidvR2QtWIq5w+oUEakMQ8GGTJo/c4YXWs28LHMjm0NC7CtIpk0NLgDmMY=
=bdg5
-----END PGP SIGNATURE-----

--a1lJiSU2ags9CTO286EK3vIJOK4L3xfUe--



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