From eb73e8d8d3409bb01ea69de0cae3ca0312aef900 Mon Sep 17 00:00:00 2001 From: John Marino Date: Wed, 8 May 2013 13:09:38 +0200 Subject: [PATCH] gcc47: Update base compiler to from version 4.7.2 to 4.7.3 This is a bug fix release. The official change page is http://gcc.gnu.org/gcc-4.7/changes.html According to it, 119 bugs have been resolved since version 4.7.2 was released although many of them are surely not applicable for DragonFly. The fixes include 3 top priority bug reports and 27 second-priority bug reports. --- contrib/gcc-4.7/README.DELETED | 7 ++++--- contrib/gcc-4.7/README.DRAGONFLY | 8 ++++---- gnu/lib/gcc47/Makefile.inc | 2 +- gnu/lib/gcc47/libstdc++/Makefile | 6 +++++- gnu/lib/gcc47/libstdc++/Makefile.headers | 2 +- gnu/usr.bin/cc47/Makefile.inc | 4 ++-- 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/contrib/gcc-4.7/README.DELETED b/contrib/gcc-4.7/README.DELETED index af8bea1620..eb5d8eae0c 100644 --- a/contrib/gcc-4.7/README.DELETED +++ b/contrib/gcc-4.7/README.DELETED @@ -199,8 +199,11 @@ gcc/config/i386/t-cygming gcc/config/i386/t-darwin gcc/config/i386/t-darwin64 gcc/config/i386/t-gmm_malloc +gcc/config/i386/t-gnu gcc/config/i386/t-i386 gcc/config/i386/t-interix +gcc/config/i386/t-kfreebsd +gcc/config/i386/t-linux gcc/config/i386/t-linux64 gcc/config/i386/t-mingw-w32 gcc/config/i386/t-mingw-w64 @@ -679,9 +682,7 @@ libstdc++-v3/config/locale/ieee_1003.1-2001/ libstdc++-v3/config/locale/newlib/ libstdc++-v3/config/os/aix/ libstdc++-v3/config/os/bionic/ -libstdc++-v3/config/os/bsd/darwin/ -libstdc++-v3/config/os/bsd/freebsd/ -libstdc++-v3/config/os/bsd/netbsd/ +libstdc++-v3/config/os/bsd/ libstdc++-v3/config/os/djgpp/ libstdc++-v3/config/os/generic/ctype_base.h libstdc++-v3/config/os/generic/ctype_configure_char.cc diff --git a/contrib/gcc-4.7/README.DRAGONFLY b/contrib/gcc-4.7/README.DRAGONFLY index ab3dbb51c3..e90955b5e4 100644 --- a/contrib/gcc-4.7/README.DRAGONFLY +++ b/contrib/gcc-4.7/README.DRAGONFLY @@ -4,10 +4,10 @@ GCC-4.7.2 RELEASE Original source can be downloaded from: http://ftp.gnu.org/gnu/gcc -file = gcc-4.7.2.tar.bz2 -date = 20 September 2012 -size = 82884636 -sha1 = a464ba0f26eef24c29bcd1e7489421117fb9ee35 +file = gcc-4.7.3.tar.bz2 +date = 11 April 2013 +size = 82904224 +sha1 = 69e02737bd6e1a7c6047d801600d39c32b9427ca The file README.DELETED contains a list of deleted files and directories. diff --git a/gnu/lib/gcc47/Makefile.inc b/gnu/lib/gcc47/Makefile.inc index 38dc12b53c..4500118826 100644 --- a/gnu/lib/gcc47/Makefile.inc +++ b/gnu/lib/gcc47/Makefile.inc @@ -1,7 +1,7 @@ # make sure this stays the same as gnu/usr.bin/cc47/Makefile.inc GCCSHORTVER= 47 GCCPOINTVER= 4.7 -GCCSHORTDATE= 20120920 +GCCSHORTDATE= 20130411 GCCDIR= ${.CURDIR}/../../../../contrib/gcc-${GCCPOINTVER} OCCDIR= ${.OBJDIR}/../../../usr.bin/cc${GCCSHORTVER} diff --git a/gnu/lib/gcc47/libstdc++/Makefile b/gnu/lib/gcc47/libstdc++/Makefile index 88b167b8a8..8c0223be27 100644 --- a/gnu/lib/gcc47/libstdc++/Makefile +++ b/gnu/lib/gcc47/libstdc++/Makefile @@ -180,6 +180,7 @@ gnu11_FLAGS_FILES= chrono.cc \ #generated sources SRCS+= unwind.h \ unwind-cxx.h \ + cxxabi_forced.h \ ${CONF_HEADERS:T} HD= ${INCLUDEDIR}/c++/${GCCPOINTVER} @@ -247,6 +248,9 @@ unwind.h: unwind-generic.h unwind-cxx.h: ${SRCDIR}/libsupc++/unwind-cxx.h cp ${.ALLSRC} ${.TARGET} +cxxabi_forced.h: ${SRCDIR}/libsupc++/cxxabi_forced.h + cp ${.ALLSRC} ${.TARGET} + copybits: mkdir -p bits @@ -275,6 +279,6 @@ CLEANDIRS+= bits CLEANFILES+= atomicity.cc basic_file.cc c++locale.cc \ ctype_configure_char.cc unwind.h unwind-cxx.h \ cp-demangle.c debug-cxx.cc tree-cxx.cc vec-cxx.cc \ - c++config.h gthr.h gthr-default.h + cxxabi_forced.h c++config.h gthr.h gthr-default.h .include diff --git a/gnu/lib/gcc47/libstdc++/Makefile.headers b/gnu/lib/gcc47/libstdc++/Makefile.headers index 842640c05b..edeff3a924 100644 --- a/gnu/lib/gcc47/libstdc++/Makefile.headers +++ b/gnu/lib/gcc47/libstdc++/Makefile.headers @@ -1,5 +1,5 @@ # verbatim from libstdc++/include/Makefile.in -# Info also from libstdc++/libsupc++/Makefike.in +# Info also from libstdc++/libsupc++/Makefile.in COMPATIBILITY_H = config/abi/compatibility.h CLOCALE_CC = config/locale/dragonfly/c_locale.cc diff --git a/gnu/usr.bin/cc47/Makefile.inc b/gnu/usr.bin/cc47/Makefile.inc index cc8275cc1c..4e27e3e3bb 100644 --- a/gnu/usr.bin/cc47/Makefile.inc +++ b/gnu/usr.bin/cc47/Makefile.inc @@ -1,8 +1,8 @@ .if !target(____) ____: -GCCCOMPLETEVER= 4.7.2 -GCCDATESTAMP= 2012-09-20 +GCCCOMPLETEVER= 4.7.3 +GCCDATESTAMP= 2013-04-11 GCCPOINTVER= ${GCCCOMPLETEVER:R} GCCSHORTVER= ${GCCPOINTVER:S/.//} -- 2.41.0